Commit Graph

68 Commits

Author SHA1 Message Date
b3f2a223c3 Fixed MapViewer entity generation 2019-12-20 14:22:11 -08:00
e4df005987 Rewrote engine and replaced Ashley with Artemis
Rewrote engine and replaced Ashley with Artemis
Added basic networking support for D2GS (handshake and sending initial player state to clients)
2019-12-11 02:07:55 -08:00
d6c76d2add Fixed an error in D2 file type 2019-12-06 23:47:57 -08:00
b9edd7951b Fixed field names 2019-12-04 15:44:40 -08:00
99256902e9 Added D2 finder to search for cofs in d2 files or dump d2 file entries 2019-12-03 21:30:06 -08:00
e4bfcd63c4 Added control display for disabling gfx 2019-12-03 13:52:28 -08:00
0efa88c141 Added support for hiding debug objects
Added support for hiding debug objects
Map cell values now have main and sub indexes unset
Added additional parameter that seems to block walk better on non-map floor tiles
2019-12-03 13:50:43 -08:00
de5a9e3bd9 Added an additional debugging mode for RenderSystem to assist with debugging DS1 cells 2019-12-03 04:25:44 -08:00
c5bd188f5d Added support for rendering additional acts 2019-12-02 19:29:47 -08:00
10ad5a354a Created COF finder tool 2019-12-02 16:59:01 -08:00
a072625dba Moved Map into constructors and removed various setMap(Map) methods
Fixed issue where calling Map#generate() would throw a nested iterator error
2019-11-28 16:28:27 -08:00
d09828e315 Removed MapLoader (see #13) 2019-11-28 15:32:33 -08:00
0d1b7819df Rewrote Map and redesigned map/game screen loading strategy to better comply with #13 2019-11-28 15:29:53 -08:00
58acc6d6bc Replaced GridPoint2 with Vector2
Replaced GridPoint2 with Vector2
Reduced buffer size for DS1 to 8192B
Added extra debugging info for DS1 decode cases with extra bytes
2019-11-27 06:22:04 -08:00
29941e106f Removed object oriented engine code-base
Removed object oriented engine code-base and deprecated remaining classes
Removed some older test classes which implemented the old engine
Moved game screen panel classes to screen.panel package
Changed game screen panel classes to use Riiablo.game reference
2019-11-26 16:23:22 -08:00
0617942f3e Fixed Engine instantiation and added input processor for testing purposes 2019-11-26 15:27:13 -08:00
8f147094a7 Refined TouchMovementSystem to work more smoothly near walls
Refined TouchMovementSystem to work more smoothly near walls by turning off pathing and using raycasting and box2d
Replaced gdx-ai raycaster with my own implementation that supports passing size and flags
Exposed MapGraph#getOrCreate(Vector2) -- may move this class and return these to package access later
2019-11-24 02:48:41 -08:00
dcf7b28402 Cleaned up UI a bit -- added function hotkeys bar to top
Fixed issue where right click wouldn't clear previous paths
2019-11-23 18:21:10 -08:00
7603adb26c Renamed MapViewerTool to MapViewer -- replacing previous MapViewer 2019-11-23 18:04:11 -08:00
a06bd449dc Deleted MapViewer 2019-11-23 18:03:21 -08:00
49d552d7b8 Added MapViewerTool which uses ECS engine and deprecates MapViewer 2019-11-23 18:01:06 -08:00
ab9fe45d22 Replaced pixel coords x,y with cursor world coords x,y 2019-11-23 03:40:21 -08:00
99914c2c23 Rewrote path finding related classes to be more tailored to my needs (see #63) 2019-11-22 22:20:53 -08:00
33ce6bf2c7 Added DirectionTool used to test com.riiablo.engine.Direction 2019-11-09 15:09:59 -08:00
0a9b4c5b8e Minor bugfixes
Removed redundant method call from drawDebugSpecial
Fixed issue where resizing MapRenderer was not forcing update
2019-10-27 23:30:02 -07:00
0c4c4a5fb1 Fixed issue with camera toScreen coordinates applying pixel offset at incorrect time
Fixed issue with camera toScreen coordinates applying pixel offset at incorrect time
Added debug render of iso boundary rect
2019-10-24 00:32:43 -07:00
d6105d9f9a Improved isometric camera API
Documented isometric camera API
Implemented pix and tile offsets instead of just offset
Made pix and tile offsets private -- pix offset set via offset and tile offset set automatically
toTile50 may be deprecated in the future if I cannot find a use for it (tile offset may have superseded it)
2019-10-19 15:04:41 -07:00
354419dafd Fixed iso position tracking by using Tile50 2019-10-17 16:59:11 -07:00
04ebeb1a61 Added wrld field to track cursor tile position
Added wrld field to track cursor tile position
Added 0.5f offset to world tile position to account for camera offset
2019-10-17 16:23:24 -07:00
4f5852b35a Removed 'near' field 2019-10-17 16:20:48 -07:00
88ae4c496b Removed 'near' field and changed 'pos' to Tile50 2019-09-30 03:46:43 -07:00
d2b48b8119 Implemented slightly improved parser for TXTs (see #26) 2019-09-29 03:47:15 -07:00
28c6bd95dc Updated BinGenerationTool with support for validating the serialized bins against their source excels 2019-09-28 03:50:41 -07:00
761c6f8447 Implemented support for binary excel loading (see #26) 2019-09-28 03:35:07 -07:00
814925d76c Added annotation field to allow bin generator to ignore certain columns 2019-09-23 17:42:40 -07:00
6bb974e711 Added support for binary excel loading (see #26)
Refactored Excel parse factory methods to load methods
Added tentative serialization code to MonStats
2019-09-23 03:51:55 -07:00
cc2ea8ba00 Removed eclipse stuff from gradle (was giving warnings and completely unused) 2019-06-24 03:25:43 -07:00
49122a045d Scrolling now adjusts MapRenderer zoom 2019-05-14 19:05:35 -07:00
0414472042 Added debug rendering for toTile50 2019-05-12 02:04:09 -07:00
5acbaa54f1 Moved iso updates to post tick and extended debug tile grid size 2019-05-11 18:40:13 -07:00
f8d1397d95 Added cursor movement with a timestep 2019-05-10 15:46:50 -07:00
0fab1a4c94 Moved class to com.riiablo.camera
Moved class to com.riiablo.camera
Improved debug overlay -- added labels
2019-05-10 00:45:07 -07:00
2ae55d9eb8 Changed translation amount
Changed translation amount
Added support for toTile50 for position coords because of centering
Display iso position and tile position
Changed access of offset and position
2019-05-10 00:20:58 -07:00
a7682d8743 Added support for isometric offsets 2019-05-09 23:46:44 -07:00
eaf97baf6e Added translation support
Added translation support
Changed IsometricCamera to use tile coordinates for position coords
2019-05-09 16:00:07 -07:00
fe1e15d1fc Committing new camera classes 2019-05-08 23:34:44 -07:00
c8d0a7e9a2 Basic aggregation of walls in y-axis 2019-05-06 20:00:40 -07:00
59fb2c21c4 Adjusted math to use logical coords instead of inverting map y coordinates 2019-05-06 19:50:42 -07:00
7e2b2679ba Aggregation of horizontal walls 2019-05-06 10:29:09 -07:00
c36313304b Improved direction math to use backing MapRenderer to result in correct angle 2019-05-05 20:52:20 -07:00