1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-06 10:20:17 -05:00
Commit Graph

1278 Commits

Author SHA1 Message Date
Hajime Hoshi
7222f57c2c Remove texture atlass (#194)
Now Ebiten's NewImage / NewImageFromImage / ReplacePixels uses
PBOs, they work much faster. OpenDiablo 2 doesn't have to have its
own texture atlases.
2019-11-17 00:17:09 -05:00
ndechiara
1c2b4869a1 Migrate out d2common d2helper d2data modules (#195)
* Switch items to dynamic load with a common struct, add misc.txt loading
* Update Ebiten Reference
* Switch references to point to D2Shared
* Migrate part 2
2019-11-17 00:16:33 -05:00
Ziemas
404a87afd4 Fix issues with rendering order (#193)
* Rework render passes
* Fix drawing order logic
Mostly at least, probably need the objects OrderFlags to do better.
* Third pass required for Lut Gholein palace roof
2019-11-16 22:53:55 -05:00
ndechiara
7044a1695c Update Ebiten Reference (#192)
* Update Ebiten Reference
2019-11-16 20:36:02 -05:00
Tobias Koch
72bf080017 Visual Studio Code extension recommendations (#191)
* Updating .gitignore file to allow vs code extension recommendations
* Adding vs code extension recommendations
* Adding a note about vs code extension recommendations
2019-11-16 12:56:45 -05:00
Christian Nicola
050faf2c06 Add Linux build info to README (#163) 2019-11-16 11:18:49 -05:00
ndechiara
f13433f299 Switch items to dynamic load with a common struct, add misc.txt loading (#185) 2019-11-15 22:31:10 -05:00
Ziemas
0e0ad09e70 Adjust sub-tile rendering offset. (#182)
-5 Y when rendering based on sub-tile matches real D2 (at least for
rendering act 1 stash)
2019-11-15 19:48:49 -05:00
axx
c72c4d5768 Some corrections for credits (#183)
Related to issue #77
2019-11-15 19:47:58 -05:00
Tim Sarbin
b5673c1d6f
Fix animation issue and map layer rendering. (#181)
* Fixed animation 'catchup' issue. Fixed map layer rendering.
2019-11-15 14:12:23 -05:00
Tim Sarbin
4c9f0ec03e
Performance improvements (#180)
* Performance improvements for rendering.
* Update go.mod
* Changed ebiten revision to support less copying
2019-11-15 13:40:26 -05:00
Ziemas
8ce6da1f6e Render loop with two passes (#179)
* Render in two passes
To avoid drawing over objects.
* Apply optimization suggestions
* Less pointers
* Also call GenTiles in GenerateMap, oops.
2019-11-15 11:03:58 -05:00
Tim Sarbin
a9cb2914b7 Revert "Render in two passes (#169)"
This reverts commit 05ce55da65.
2019-11-15 10:49:53 -05:00
Ziemas
05ce55da65 Render in two passes (#169)
* Render in two passes
To avoid drawing over objects.
* Apply optimization suggestions
* Less pointers
2019-11-15 10:09:10 -05:00
Ziemas
0475a11512 Toggle tile display in map test with F7 (#172)
* Toggle tile display in map test with F7
* Sub-tile display
Cycle through tile display modes with F7
2019-11-15 09:04:27 -05:00
Myles
b9209541c8 Closes Issue#176 (#178) 2019-11-14 23:55:51 -05:00
Tim Sarbin
b97bf6353d
Added inventory objects. (#177) 2019-11-14 22:20:01 -05:00
Ziemas
ea134afe90 Render to center of subtile (#167) 2019-11-13 22:26:52 -05:00
sclaire-1
3abfa51b8f Edit README.md (#168)
The about this project section, the second paragraph has been edited to improve flow. There was one spelling error as well.
2019-11-13 22:16:02 -05:00
Ziemas
e2bee09469 Place objects according to sub-cell (#165) 2019-11-13 20:31:47 -05:00
liberodark
f2ac62bf18 Update run.sh (#151)
* Update run.sh
2019-11-13 15:54:26 -05:00
Tim Sarbin
da9b86c679
Fixed crash on 0 animation speed entities. (#164) 2019-11-13 15:08:09 -05:00
Averrin
78a70c2d2b add map switcher (#162) 2019-11-13 14:26:42 -05:00
TehGoat
055fcd72ed Idle animation and hover gets out of sync (#161) 2019-11-13 12:56:54 -05:00
TehGoat
358fa1481c Modified hero animation speed (#160) 2019-11-13 12:32:17 -05:00
Averrin
f83ab90d96 Add CONTRIBUTORS file content to credits screen (#159) 2019-11-13 11:56:45 -05:00
liberodark
738a203325 Update go.yml (#157) 2019-11-13 08:49:58 -05:00
Tim Sarbin
2e05406f05
Update go.yml 2019-11-13 08:32:08 -05:00
Tim Sarbin
13cfb3d0c4
Update go.yml 2019-11-13 08:09:24 -05:00
Tim Sarbin
59dd184038
Created pull request action. 2019-11-13 08:08:39 -05:00
Tim Sarbin
a8171145f9
Started work on gameplay scene. (#153) 2019-11-13 00:31:52 -05:00
Tim Sarbin
4fa66988d4
Added the scrollbar. (#152) 2019-11-12 23:44:04 -05:00
Robin Eklind
12f8ca1004 d2enum: update readme to mention go generate (#133) 2019-11-12 17:36:30 -05:00
liberodark
bdda07f7e5 No need this option (#147) 2019-11-12 08:18:08 -05:00
Robin Eklind
e1d9f676cf fix permissions on .OpenDiablo2 directory (#144) 2019-11-12 08:15:50 -05:00
Tim Sarbin
a6a9434267
Added more functionality to character select screen. (#143) 2019-11-11 23:48:55 -05:00
Tim Sarbin
f81eb5764d
More sprite optimizations. (#141) 2019-11-10 20:44:51 -05:00
Tim Sarbin
352ff81b72
Fixed texture atlas. Added GC debugging. (#140) 2019-11-10 20:13:10 -05:00
Tim Sarbin
9b8ce0cccf Revert "Another sprite optimization experiment. (#139)"
This reverts commit a9136eda0a.
2019-11-10 17:58:36 -05:00
Tim Sarbin
a9136eda0a
Another sprite optimization experiment. (#139)
* Attempting to use normal ebiten frames, but lazily loading them.
2019-11-10 17:52:45 -05:00
Ziemas
1ec7d2379e Fix checkboxes (#138)
And change the names of things because it was confusing me.
2019-11-10 17:52:30 -05:00
Tim Sarbin
3f01ad09ae
Renamed files to lowercase. (#137) 2019-11-10 17:36:25 -05:00
Ziemas
d4d3fdfad3 Checkboxes! (#136)
And add them to the hero class scene.
2019-11-10 17:17:42 -05:00
Tim Sarbin
5d5009208b
Renamed all files to proper go conventions. (#134) 2019-11-10 14:06:05 -05:00
Tim Sarbin
f156475731
Added text entry. Fixed performance issue. Added error checking. (#132) 2019-11-10 12:28:41 -05:00
Tim Sarbin
e8292e9c42
More optimizations and cleanup. (#131) 2019-11-10 10:44:13 -05:00
Tim Sarbin
f2b1bdfba4
More package cleanup. (#130) 2019-11-10 08:51:02 -05:00
q3cpma
7370e12b53 Improve run.sh: (#129)
* POSIX sh
* simpler distro detection
* don't create functions for stuff used only once
* add Gentoo (portage) support
* handle other distros gracefully
* ask before stealthily installing Go
* compile even when Go is already installed
2019-11-10 07:47:55 -05:00
Tim Sarbin
b41f7f4dab
Restructured everything. (#128) 2019-11-10 03:36:53 -05:00
liberodark
46e163bc38 Create run.sh (#83)
* Create run.sh
2019-11-10 01:32:59 -05:00