Commit Graph

385 Commits

Author SHA1 Message Date
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
b8b36d9cb7 Improve drag input detection 2024-01-07 14:00:32 +01:00
9c745d2857 Partial entity inspector 2024-01-07 13:49:13 +01:00
5dbc5ba15e Add lambda emulation 2024-01-07 09:57:37 +01:00
16de6b0cc8 Add bzEasePrettyName function 2024-01-07 09:41:56 +01:00
e4111d2014 Add arms destructor (cleans up attached components 2024-01-07 09:36:35 +01:00
07e03702ad Add tree test map, fix easing system 2024-01-07 09:32:36 +01:00
6884619f05 Animate arm movement when moving 2024-01-07 09:01:33 +01:00
8ff0078b70 Rotate orientation towards shortest arc 2024-01-07 08:46:55 +01:00
adf8545b6e Add wood punch sound 2024-01-06 20:22:33 +01:00
114a464c95 Fix type in extract_common.py (BzTileID) 2024-01-06 19:55:40 +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
3c18280a32 Polish kinematic movement 2024-01-04 17:18:31 +01:00
c0b94a9cc3 Fix flipX 2024-01-04 16:42:49 +01:00
cc6b1c1a35 Add entity_factory 2024-01-04 16:40:39 +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
b48c353c14 Update instead of overwrite value in easing system 2023-12-29 20:26:46 +01:00
d73f7804a8 Always remove easing after it is finished 2023-12-29 20:04:17 +01:00
3ec7505214 Generalize easing system (works for all components now) 2023-12-29 20:03:01 +01:00
69232cebf4 Remove redundant info log 2023-12-29 20:02:38 +01:00
5014f13cd0 Add moveDtor to properly manage lifecycle 2023-12-29 19:47:28 +01:00
c3001ea4bc Fix memory leak in object pool 2023-12-29 19:14:22 +01:00
e852fcc791 Fix bug with pruning stale nodes 2023-12-29 19:11:56 +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
aa3bfbf823 Add static keyword to ease inout sine function 2023-12-29 13:43:01 +01:00
4c39e621fe Add easing functions 2023-12-29 13:30:37 +01:00
7ec5e2122e Use built-in qsort instead of flecs (better perf) 2023-12-29 10:02:13 +01:00
5aba8d18c6 Respect const qualifier 2023-12-29 09:43:46 +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
0d09ffd67d Adding UI node style updates coresponding flag 2023-12-28 09:46:21 +01:00
80fb29601f Remove debug render 2023-12-28 09:41:50 +01:00
3019e0ee3b Add sprite drawing for UI 2023-12-28 09:36:06 +01:00
5aa1e3a72b Add wood, stone, gold, pop icons 2023-12-28 08:32:28 +01:00
cef1a45847 Add settings menu 2023-12-28 08:32:09 +01:00
b48372bfa5 Copy text strings into memory arena for UI 2023-12-22 16:46:20 +01:00
331f40f4cb Fix UI size calculation 2023-12-22 15:13:23 +01:00