Commit Graph

60 Commits

Author SHA1 Message Date
Collin Smith
c5bd188f5d Added support for rendering additional acts 2019-12-02 19:29:47 -08:00
Collin Smith
10ad5a354a Created COF finder tool 2019-12-02 16:59:01 -08:00
Collin Smith
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
Collin Smith
d09828e315 Removed MapLoader (see #13) 2019-11-28 15:32:33 -08:00
Collin Smith
0d1b7819df Rewrote Map and redesigned map/game screen loading strategy to better comply with #13 2019-11-28 15:29:53 -08:00
Collin Smith
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
Collin Smith
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
Collin Smith
0617942f3e Fixed Engine instantiation and added input processor for testing purposes 2019-11-26 15:27:13 -08:00
Collin Smith
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
Collin Smith
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
Collin Smith
7603adb26c Renamed MapViewerTool to MapViewer -- replacing previous MapViewer 2019-11-23 18:04:11 -08:00
Collin Smith
a06bd449dc Deleted MapViewer 2019-11-23 18:03:21 -08:00
Collin Smith
49d552d7b8 Added MapViewerTool which uses ECS engine and deprecates MapViewer 2019-11-23 18:01:06 -08:00
Collin Smith
ab9fe45d22 Replaced pixel coords x,y with cursor world coords x,y 2019-11-23 03:40:21 -08:00
Collin Smith
99914c2c23 Rewrote path finding related classes to be more tailored to my needs (see #63) 2019-11-22 22:20:53 -08:00
Collin Smith
33ce6bf2c7 Added DirectionTool used to test com.riiablo.engine.Direction 2019-11-09 15:09:59 -08:00
Collin Smith
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
Collin Smith
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
Collin Smith
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
Collin Smith
354419dafd Fixed iso position tracking by using Tile50 2019-10-17 16:59:11 -07:00
Collin Smith
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
Collin Smith
4f5852b35a Removed 'near' field 2019-10-17 16:20:48 -07:00
Collin Smith
88ae4c496b Removed 'near' field and changed 'pos' to Tile50 2019-09-30 03:46:43 -07:00
Collin Smith
d2b48b8119 Implemented slightly improved parser for TXTs (see #26) 2019-09-29 03:47:15 -07:00
Collin Smith
28c6bd95dc Updated BinGenerationTool with support for validating the serialized bins against their source excels 2019-09-28 03:50:41 -07:00
Collin Smith
761c6f8447 Implemented support for binary excel loading (see #26) 2019-09-28 03:35:07 -07:00
Collin Smith
814925d76c Added annotation field to allow bin generator to ignore certain columns 2019-09-23 17:42:40 -07:00
Collin Smith
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
Collin Smith
cc2ea8ba00 Removed eclipse stuff from gradle (was giving warnings and completely unused) 2019-06-24 03:25:43 -07:00
Collin Smith
49122a045d Scrolling now adjusts MapRenderer zoom 2019-05-14 19:05:35 -07:00
Collin Smith
0414472042 Added debug rendering for toTile50 2019-05-12 02:04:09 -07:00
Collin Smith
5acbaa54f1 Moved iso updates to post tick and extended debug tile grid size 2019-05-11 18:40:13 -07:00
Collin Smith
f8d1397d95 Added cursor movement with a timestep 2019-05-10 15:46:50 -07:00
Collin Smith
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
Collin Smith
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
Collin Smith
a7682d8743 Added support for isometric offsets 2019-05-09 23:46:44 -07:00
Collin Smith
eaf97baf6e Added translation support
Added translation support
Changed IsometricCamera to use tile coordinates for position coords
2019-05-09 16:00:07 -07:00
Collin Smith
fe1e15d1fc Committing new camera classes 2019-05-08 23:34:44 -07:00
Collin Smith
c8d0a7e9a2 Basic aggregation of walls in y-axis 2019-05-06 20:00:40 -07:00
Collin Smith
59fb2c21c4 Adjusted math to use logical coords instead of inverting map y coordinates 2019-05-06 19:50:42 -07:00
Collin Smith
7e2b2679ba Aggregation of horizontal walls 2019-05-06 10:29:09 -07:00
Collin Smith
c36313304b Improved direction math to use backing MapRenderer to result in correct angle 2019-05-05 20:52:20 -07:00
Collin Smith
a0817b26a7 Disabled shadows and removed unneeded pos calculation 2019-05-05 18:13:36 -07:00
Collin Smith
b5c1c0933c Integrated MapRenderer to draw world 2019-05-05 17:44:18 -07:00
Collin Smith
fbbaee714d Fixed initial starting position 2019-05-05 17:13:13 -07:00
Collin Smith
794dd8cff7 Disabled camera movement when path generated 2019-05-05 15:14:53 -07:00
Collin Smith
c079787cac Moved MapViewer to tools module -- deleted mapbuilder module 2019-05-05 15:09:43 -07:00
Collin Smith
1c2a299045 Added support for box2d lights 2019-05-05 03:39:25 -07:00
Collin Smith
4fc44bb8cd Increased base velocity to 1 m/s 2019-05-05 01:26:04 -07:00
Collin Smith
f79baf0c4c Changed player to circle shape
Changed player to circle shape
Player will now face direction of linear velocity
2019-05-05 01:20:55 -07:00