Commit Graph

48 Commits

Author SHA1 Message Date
acebdceb6c Use center position for path following, tweak proximity threshold 2024-02-13 13:13:43 +01:00
abaa778aab Finish main menu screen 2024-02-12 17:18:37 +01:00
e69fdeed1f Enemy swarm movement 2024-02-12 14:14:23 +01:00
bfc1bc425f Wave incrementing 2024-02-11 19:23:40 +01:00
c8d3b6952d Rename buildings to building_factory, randomize unit place position 2024-02-05 10:13:22 +01:00
d55ed29f97 Limit how many workers can harvest the same resource 2024-02-05 09:19:59 +01:00
3c63c68597 Re-add gold ore 2024-01-29 12:35:06 +01:00
5d96a02284 Fix hitboxes for entities 2024-01-28 14:09:27 +01:00
a61768e912 Add hitboxes 2024-01-28 11:00:32 +01:00
0a4c1fd154 Only render objects on screen 2024-01-23 23:09:08 +01:00
07d1852fb9 Add soldiers 2024-01-23 20:31:23 +01:00
d2ea703ea9 Add rocks 2024-01-23 18:45:12 +01:00
2d11bb4675 Properly set building owner + apply building pop capacity 2024-01-23 18:39:53 +01:00
e2684fc496 Move UI code into s_ui 2024-01-15 11:28:17 +01:00
3ba5c8932b Fix and integrate BT 2024-01-10 14:42:21 +01:00
c08fca9670 Buildings as entities instead of map layer 2024-01-08 14:41:26 +01:00
07e03702ad Add tree test map, fix easing system 2024-01-07 09:32:36 +01:00
dbc0ce5981 Basic property editor 2024-01-05 08:36:05 +01:00
cc6b1c1a35 Add entity_factory 2024-01-04 16:40:39 +01:00
cc66f15131 Move system initialization in systems.c, properly delete all entities when unloading map 2023-12-29 17:18:06 +01:00
5190c86316 Change Storage to tag (since we have global storage) 2023-12-29 14:59:40 +01:00
31a9289770 Move systems into subdirectory, add tree shake animation 2023-12-29 14:46:11 +01:00
e7a0f91c36 Add draw sorting based on Y position 2023-12-29 09:42:15 +01:00
6e2c68cb70 Add destructor for SpatialGridID and Path, remove unused Animation code 2023-12-29 09:06:53 +01:00
33b28b620d Implement harvest worker AI 2023-12-17 14:20:13 +01:00
4f2ac9a0eb Add actions 2023-12-17 09:06:14 +01:00
4047843b55 Add animations back 2023-12-16 17:52:56 +01:00
3cfdce9d96 Add BzTileID which refers to the tileset 2023-12-13 16:31:28 +01:00
ce519fe409 Update to use game_tileset.h 2023-12-13 15:37:41 +01:00
a2c19cf65d Add page support to object pool 2023-12-13 09:31:08 +01:00
72b32b1a26 Merge tilesets into one 2023-12-12 17:02:23 +01:00
11832ec1cc Basic wood chopping 2023-12-10 11:08:40 +01:00
8543cc7b43 Rework input 2023-12-07 14:19:10 +01:00
365fb41831 Remove rotation from steering behavior 2023-12-07 11:41:13 +01:00
488dccfada Add entity rotation 2023-12-06 08:09:02 +01:00
ae1c21bdfc Rework input 2023-12-05 14:38:11 +01:00
0d137ffb25 Add idle animation 2023-12-05 11:25:56 +01:00
03b5959eae Kinematic movement + path following 2023-11-18 08:12:58 +01:00
2167d10501 Tweak spatial grid size, add colliders rendering 2023-11-17 19:39:49 +01:00
16d98a4691 Add trees as entities 2023-11-17 16:32:41 +01:00
021df6d77a Remove multiple colliders, add spatial index component 2023-11-17 15:13:30 +01:00
4c37622240 Add entity map 2023-11-15 18:32:43 +01:00
d37936ce7f Add Game as singleton 2023-11-15 08:18:56 +01:00
8825b9e01f Path following 2023-11-14 12:01:28 +01:00
bf543330e5 Add basic movement 2023-11-12 19:04:25 +01:00
526d292fb5 Very basic animations 2023-11-12 18:03:55 +01:00
bf56b150cc Separate buildings function from main.c 2023-11-12 16:31:40 +01:00
8edb7b7ea9 Restructure/refactor of main.c 2023-11-12 16:14:30 +01:00