Commit Graph

28 Commits

Author SHA1 Message Date
c5b6dc0501 Soft fail, when checking for collisions outside map bounds 2024-02-12 09:33:12 +01:00
547a1ca583 Add gold ore, fix bug with collision layer 2024-01-23 17:24:43 +01:00
ac7525c42a Add transperency when units are behind 2024-01-15 13:16:24 +01:00
8692d89479 Add 8 layers to collisions 2024-01-13 08:09:34 +01:00
b0db2a52ec Fix raycast intersection calculation 2024-01-10 17:30:03 +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
5564df4768 Add collisions to tileset 2023-12-17 09:36:33 +01:00
3cfdce9d96 Add BzTileID which refers to the tileset 2023-12-13 16:31:28 +01:00
582074256c Add animations to terrain layer 2023-12-13 16:23:38 +01:00
72b32b1a26 Merge tilesets into one 2023-12-12 17:02:23 +01:00
0d156f515e Add stack allocator 2023-12-07 10:31:12 +01:00
0d137ffb25 Add idle animation 2023-12-05 11:25:56 +01:00
6240eeea1c Implement DDA raycasting, fix bug in path smoothing 2023-11-25 10:56:26 +01:00
0dc8046d8f Rework pathfinding to use Vector2, form formations 2023-11-23 12:01:42 +01:00
8e37479980 Update CMakeLists.txt to reflect rename utils to util 2023-11-23 10:40:52 +01:00
2d50a43a73 Change collisionMap to boolean value 2023-11-18 12:53:34 +01:00
021df6d77a Remove multiple colliders, add spatial index component 2023-11-17 15:13:30 +01:00
3ec6e9ad47 Remove entity map in favor of spatial grid 2023-11-16 16:31:19 +01:00
8edb7b7ea9 Restructure/refactor of main.c 2023-11-12 16:14:30 +01:00
10e47a6ad4 Fixed tile objects rendering 2023-11-11 09:35:05 +01:00
3c8254c6f6 Add support for objects with tiles 2023-11-11 09:21:59 +01:00
1908150635 Place buildings 2023-11-11 07:01:49 +01:00
c8c857bdb9 Overhaul how building and ownership layers are handled at init 2023-11-10 06:38:16 +01:00
60e66bbd67 Proper building detection 2023-11-10 05:54:40 +01:00
fed67a61e6 Convert buildings to entities (partially) 2023-11-09 18:11:46 +01:00
f32c19dc3d Overhaul tilemap, add building ownership layer 2023-11-09 15:46:35 +01:00
dd96b23d32 Rename world directory to map 2023-11-09 12:22:56 +01:00