1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2025-02-20 23:47:16 -05:00

389 Commits

Author SHA1 Message Date
Ziemas
e70378d627 Increase draw distance up and down ()
* Scroll slowly in map test by holding shift
* Increase draw distance up and down
Avoid issues with long tiles popping in and out of view. (As long as
camera is reasonably within bounds)
2019-11-18 18:23:33 -05:00
Ziemas
9117616b0c Fix the tile coordinates shown in the top left () 2019-11-18 17:42:38 -05:00
Tim Sarbin
908d186fea
Prevent some map load crashes. () 2019-11-17 22:55:31 -05:00
Ziemas
30b680d9d1 Lower wall stuff ()
Move to top of render order and remove offset
2019-11-17 19:01:17 -05:00
Tim Sarbin
7f6e14c5d0
More map engine improvements. () 2019-11-17 16:06:02 -05:00
Tim Sarbin
0c7f4e0647
Minor enhancements to map loading ()
* Minor improvements to map loading/rendering speed.

* Update region.go
2019-11-17 14:21:48 -05:00
Averrin
5eafa9cc0b Create tiles cache on region loading ()
* tile choice algo
* cycle region files
* switcher limited by preset
* create tile caches befor rendering
* remove keyLocked
2019-11-17 08:09:54 -05:00
achim-t
43e76230cf Update README.md () 2019-11-17 08:00:43 -05:00
Tim Sarbin
4254b0f020
Finished orientation values. ()
* Finished directions for entity.
2019-11-17 02:54:22 -05:00
Tim Sarbin
297184376f
Phase 1 prep work for gameplay ()
* Updates
* More merge adjustments.
* Don't commit local changes...
2019-11-17 01:14:58 -05:00
Averrin
c3ba3f71e4 Switcher with presets & better tiles randomizing ()
* tile choice algo
* cycle region files
* switcher limited by preset
2019-11-17 00:52:13 -05:00
Hajime Hoshi
7222f57c2c Remove texture atlass ()
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 ()
* 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 ()
* 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 ()
* Update Ebiten Reference
2019-11-16 20:36:02 -05:00
Tobias Koch
72bf080017 Visual Studio Code extension recommendations ()
* 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 () 2019-11-16 11:18:49 -05:00
ndechiara
f13433f299 Switch items to dynamic load with a common struct, add misc.txt loading () 2019-11-15 22:31:10 -05:00
Ziemas
0e0ad09e70 Adjust sub-tile rendering offset. ()
-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 ()
Related to issue 
2019-11-15 19:47:58 -05:00
Tim Sarbin
b5673c1d6f
Fix animation issue and map layer rendering. ()
* Fixed animation 'catchup' issue. Fixed map layer rendering.
2019-11-15 14:12:23 -05:00
Tim Sarbin
4c9f0ec03e
Performance improvements ()
* 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 ()
* 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 ()"
This reverts commit 05ce55da6590f3ff3850b16187e7b7d88ac0e005.
2019-11-15 10:49:53 -05:00
Ziemas
05ce55da65 Render in two passes ()
* 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 ()
* 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 () 2019-11-14 23:55:51 -05:00
Tim Sarbin
b97bf6353d
Added inventory objects. () 2019-11-14 22:20:01 -05:00
Ziemas
ea134afe90 Render to center of subtile () 2019-11-13 22:26:52 -05:00
sclaire-1
3abfa51b8f Edit README.md ()
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 () 2019-11-13 20:31:47 -05:00
liberodark
f2ac62bf18 Update run.sh ()
* Update run.sh
2019-11-13 15:54:26 -05:00
Tim Sarbin
da9b86c679
Fixed crash on 0 animation speed entities. () 2019-11-13 15:08:09 -05:00
Averrin
78a70c2d2b add map switcher () 2019-11-13 14:26:42 -05:00
TehGoat
055fcd72ed Idle animation and hover gets out of sync () 2019-11-13 12:56:54 -05:00
TehGoat
358fa1481c Modified hero animation speed () 2019-11-13 12:32:17 -05:00
Averrin
f83ab90d96 Add CONTRIBUTORS file content to credits screen () 2019-11-13 11:56:45 -05:00
liberodark
738a203325 Update go.yml () 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. () 2019-11-13 00:31:52 -05:00
Tim Sarbin
4fa66988d4
Added the scrollbar. () 2019-11-12 23:44:04 -05:00
Robin Eklind
12f8ca1004 d2enum: update readme to mention go generate () 2019-11-12 17:36:30 -05:00
liberodark
bdda07f7e5 No need this option () 2019-11-12 08:18:08 -05:00
Robin Eklind
e1d9f676cf fix permissions on .OpenDiablo2 directory () 2019-11-12 08:15:50 -05:00
Tim Sarbin
a6a9434267
Added more functionality to character select screen. () 2019-11-11 23:48:55 -05:00
Tim Sarbin
f81eb5764d
More sprite optimizations. () 2019-11-10 20:44:51 -05:00
Tim Sarbin
352ff81b72
Fixed texture atlas. Added GC debugging. () 2019-11-10 20:13:10 -05:00
Tim Sarbin
9b8ce0cccf Revert "Another sprite optimization experiment. ()"
This reverts commit a9136eda0a2702fe366c7cea6838887e61ddb67f.
2019-11-10 17:58:36 -05:00