1
Fork 0
Commit graph

17 commits

Author SHA1 Message Date
17913b7adb Let enemies attack the closest player units 2022-05-01 19:21:02 -04:00
c8dcd1e08c Let the enemy units move to the closest player units automatically 2022-05-01 19:19:15 -04:00
9dfce4e601 Add second player unit 2022-05-01 18:28:17 -04:00
4186bfcacb Add unit actions execution
This also adds a win/lose condition, although those aren't fleshed out
yet.
2022-05-01 18:27:27 -04:00
5ab8a6c388 Add framework unit actions 2022-05-01 18:13:32 -04:00
628a06d097 Add collision points to the pathing algorithm
Currently, this is only other units.
2022-05-01 17:30:08 -04:00
5eb5e45f3f Add basic walking animation and max distance calculation
There's actual no sprite animation (yet)
2022-05-01 17:25:55 -04:00
41d1fa55ef Create a new general-purpose unit class, basic turn-ordering and arrows 2022-05-01 17:13:11 -04:00
970988a5eb Add A* pathing algorithm
I adapted the A* I had already implemented in a Realm of Chaos, now
adapted in Java and is used to calculate the player's path to their new
location.
2022-04-30 19:52:28 -04:00
44d62fb515 Add player movement with mouse 2022-04-30 19:21:47 -04:00
5e6ffed741 Draw player and make sure to center the camera around their position 2022-04-30 19:07:30 -04:00
ffd69c2ddb Add Player class 2022-04-30 19:07:18 -04:00
f9e432b0f9 Move screen classes into their own package 2022-04-30 18:57:04 -04:00
ecf601fa68 Add basic Tiled map and a tileset with just grass 2022-04-30 18:52:53 -04:00
ca5c086189 Use Game class, add a basic structure for main menu and game screens 2022-04-30 18:43:08 -04:00
fe02958e4d Add a license 2022-04-30 18:24:08 -04:00
243f4f7b2d Add initial files 2022-04-30 18:19:00 -04:00