1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-30 02:55:23 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
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
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
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
Ziemas
e2bee09469 Place objects according to sub-cell (#165) 2019-11-13 20:31:47 -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
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
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
Tim Sarbin
b41f7f4dab
Restructured everything. (#128) 2019-11-10 03:36:53 -05:00