Commit Graph

42 Commits

Author SHA1 Message Date
d6466b8f55 Add health 2024-02-07 16:12:45 +01:00
c625f566bc Improve unit recruiting 2024-02-07 11:38:42 +01:00
28ee6da17b Remove entity arms - bad idea 2024-02-07 11:02:06 +01:00
d55ed29f97 Limit how many workers can harvest the same resource 2024-02-05 09:19:59 +01:00
df581dcb9d Add particles! 2024-01-29 20:01:36 +01:00
a61768e912 Add hitboxes 2024-01-28 11:00:32 +01:00
0423a962df Consume pop capacity + evade AI boiler plate 2024-01-23 21:43:58 +01:00
777ebeadc4 Depositing resources increases player resources 2024-01-23 19:53:25 +01:00
2d11bb4675 Properly set building owner + apply building pop capacity 2024-01-23 18:39:53 +01:00
c9a2bd2672 Add rest of assets, add blue player 2024-01-23 11:26:23 +01:00
25a3229bb2 Polish up behaviour tree, add docs 2024-01-11 09:33:51 +01:00
36d8bac7c4 Simlify and improve BT visualization 2024-01-11 08:34:53 +01:00
2f2974fb77 Refactor behaviour_tree (more consistent naming), fix BT visualization 2024-01-11 07:35:58 +01:00
52cccf4665 Inspection for Animation component 2024-01-10 16:59:17 +01:00
3ba5c8932b Fix and integrate BT 2024-01-10 14:42:21 +01:00
88cbfe4a37 Properly handle map collisions when placing/destroying buildings 2024-01-08 15:27:58 +01:00
c08fca9670 Buildings as entities instead of map layer 2024-01-08 14:41:26 +01:00
9c745d2857 Partial entity inspector 2024-01-07 13:49:13 +01:00
f667614cfe Add weapons 2024-01-06 19:54:22 +01:00
dbc0ce5981 Basic property editor 2024-01-05 08:36:05 +01:00
3c18280a32 Polish kinematic movement 2024-01-04 17:18:31 +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
681080f3ed Fix harvesting and add resource depositing 2023-12-29 14:54:13 +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
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
ce519fe409 Update to use game_tileset.h 2023-12-13 15:37:41 +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
ddb562a62e Split follow path system with follow target position 2023-12-07 11:20:04 +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
17bfe7f52d Use component for unit selection 2023-12-02 11:53:45 +01:00
5cbb7b6c94 Move flecs out of engine, reorganize systems 2023-11-17 20:29:51 +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
8825b9e01f Path following 2023-11-14 12:01:28 +01:00