Commit Graph

133 Commits

Author SHA1 Message Date
409d9027ef Working HTML5 version 2024-01-29 00:10:31 +01:00
dfc20b6a96 Add music, fix main menu scene 2024-01-28 18:17:39 +01:00
77d6173962 Fix origin 2024-01-28 17:49:32 +01:00
205fb57f07 Implement farming 2024-01-28 17:33:55 +01:00
d0ad91d5b2 Only allow for workers to harvest 2024-01-28 14:26:39 +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
0423a962df Consume pop capacity + evade AI boiler plate 2024-01-23 21:43:58 +01:00
b6e54a7fcb Proper build UI 2024-01-23 16:54:39 +01:00
ac7525c42a Add transperency when units are behind 2024-01-15 13:16:24 +01:00
0f33ed9fc0 Remove texture from DrawData 2024-01-15 12:51:19 +01:00
f7b235abe5 Add assertion check for number of draws 2024-01-15 11:37:21 +01:00
5e6a9b628c Use stack alloc for sorting draw data 2024-01-15 11:34:49 +01:00
e2684fc496 Move UI code into s_ui 2024-01-15 11:28:17 +01:00
dda24cd530 Add build menu 2024-01-15 11:18:39 +01:00
8692d89479 Add 8 layers to collisions 2024-01-13 08:09:34 +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
e82fde83c9 Fix screen switching 2024-01-10 21:37:11 +01:00
b09f1d4ca9 Fix screen switching 2024-01-10 19:43:57 +01:00
692f5744ad Add options 2024-01-10 19:38:56 +01:00
214cf19a52 Fix tileset river collisions, add pathing test map 2024-01-10 17:10:00 +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
03dc3774e7 Rework input system 2024-01-07 15:20:39 +01:00
5f4bb3316c Add capture IO flags to UI, for better input handling 2024-01-07 14:18:53 +01:00
9c745d2857 Partial entity inspector 2024-01-07 13:49:13 +01:00
07e03702ad Add tree test map, fix easing system 2024-01-07 09:32:36 +01:00
adf8545b6e Add wood punch sound 2024-01-06 20:22:33 +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
852dc43556 Set texture wrap to clamp 2024-01-05 07:29:29 +01:00
2e2628bd8f Fix texture bleeding 2024-01-04 22:16:29 +01:00
a1a67cfa3d Polish camera movement 2024-01-04 19:21:13 +01:00
c83f0fb666 Center game window 2024-01-02 19:21:45 +01:00
ef274d93fd Proper screen switching 2024-01-02 12:28:09 +01:00
cc66f15131 Move system initialization in systems.c, properly delete all entities when unloading map 2023-12-29 17:18:06 +01:00
31a9289770 Move systems into subdirectory, add tree shake animation 2023-12-29 14:46:11 +01:00
7ec5e2122e Use built-in qsort instead of flecs (better perf) 2023-12-29 10:02:13 +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
0c9fae7781 Add walk animation 2023-12-29 08:02:19 +01:00
b667f18b8e Fix deinitialization 2023-12-29 07:46:05 +01:00
5bcab7a23c Add apple icon 2023-12-29 07:27:52 +01:00
118f7f9d93 Add top bar game UI 2023-12-28 09:47:55 +01:00
cef1a45847 Add settings menu 2023-12-28 08:32:09 +01:00
da1eeefe70 Update widgets to new UI 2023-12-22 12:50:27 +01:00