|
|
17a5cee02c
|
Add walking animation
|
2023-12-05 11:32:34 +01:00 |
|
|
|
0d137ffb25
|
Add idle animation
|
2023-12-05 11:25:56 +01:00 |
|
|
|
ce47bfb110
|
Defer component mutation
|
2023-12-02 14:31:52 +01:00 |
|
|
|
17bfe7f52d
|
Use component for unit selection
|
2023-12-02 11:53:45 +01:00 |
|
|
|
6fe4449adf
|
Cleanup smoothPath function
|
2023-11-25 11:30:28 +01:00 |
|
|
|
6240eeea1c
|
Implement DDA raycasting, fix bug in path smoothing
|
2023-11-25 10:56:26 +01:00 |
|
|
|
2c3ee8afd6
|
Ensure pathfinding always finds the shortest path
|
2023-11-25 08:27:20 +01:00 |
|
|
|
b77e939c52
|
Overhaul pathfinding algorithm
|
2023-11-24 20:25:21 +01:00 |
|
|
|
6e977b7433
|
Fix memory leak when iterating path
|
2023-11-23 19:35:59 +01:00 |
|
|
|
a17450dd81
|
Fix path smoothing bug
|
2023-11-23 19:23:06 +01:00 |
|
|
|
3885e911a3
|
Add path smoothing
|
2023-11-23 19:01:28 +01:00 |
|
|
|
d62e08a6b8
|
Properly draw selected rings and target formation position
|
2023-11-23 15:39:05 +01:00 |
|
|
|
5ff0fbb26f
|
Add feedback UI for selecting and placing units
|
2023-11-23 12:21:25 +01:00 |
|
|
|
0dc8046d8f
|
Rework pathfinding to use Vector2, form formations
|
2023-11-23 12:01:42 +01:00 |
|
|
|
513168825c
|
Remove imgui demo window
|
2023-11-23 11:11:04 +01:00 |
|
|
|
19d84a5dbb
|
Add basic input system
|
2023-11-23 11:07:46 +01:00 |
|
|
|
783db8ba90
|
Add input logic for building
|
2023-11-22 09:56:20 +01:00 |
|
|
|
2fc0d7196a
|
Rename variables in pathfinding.c to be more clear
|
2023-11-18 18:07:22 +01:00 |
|
|
|
2d50a43a73
|
Change collisionMap to boolean value
|
2023-11-18 12:53:34 +01:00 |
|
|
|
4d9851f433
|
Option to enable/disable debug drawing
|
2023-11-18 11:19:54 +01:00 |
|
|
|
03b5959eae
|
Kinematic movement + path following
|
2023-11-18 08:12:58 +01:00 |
|
|
|
5cbb7b6c94
|
Move flecs out of engine, reorganize systems
|
2023-11-17 20:29:51 +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 |
|
|
|
3ec6e9ad47
|
Remove entity map in favor of spatial grid
|
2023-11-16 16:31:19 +01:00 |
|
|
|
6974a80611
|
Add building preview
|
2023-11-16 09:40:41 +01:00 |
|
|
|
c232fc9afd
|
Fix bug where allocated paths were never returned
|
2023-11-16 09:00:27 +01:00 |
|
|
|
af99504370
|
Allocate path with object pool for pathfinding
|
2023-11-16 07:23:56 +01:00 |
|
|
|
9e6c836207
|
Rename ...New/...Free to ...Create/...Destroy
|
2023-11-16 06:26:24 +01:00 |
|
|
|
0a44f7b2dc
|
Only iterate over each entry once
|
2023-11-15 19:25:37 +01:00 |
|
|
|
1ceacd2e62
|
Add update method to entity map
|
2023-11-15 19:11:39 +01:00 |
|
|
|
4c37622240
|
Add entity map
|
2023-11-15 18:32:43 +01:00 |
|
|
|
e9bdc623fc
|
Restructure files
|
2023-11-15 08:23:58 +01:00 |
|
|
|
d37936ce7f
|
Add Game as singleton
|
2023-11-15 08:18:56 +01:00 |
|
|
|
274612b035
|
Add path debug drawing, resources fields
|
2023-11-14 16:21:14 +01:00 |
|
|
|
8825b9e01f
|
Path following
|
2023-11-14 12:01:28 +01:00 |
|
|
|
ab817ee03d
|
Basic pathfinding
|
2023-11-14 08:25:55 +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 |
|
|
|
df911c65b7
|
Add header guards
|
2023-11-12 15:43:41 +01:00 |
|
|
|
df5e65f9d7
|
Add missing collisions to buildings
|
2023-11-12 11:24:59 +01:00 |
|
|
|
afb8e93f15
|
Add FPS status to window titlebar
|
2023-11-11 09:25:22 +01:00 |
|
|
|
3c8254c6f6
|
Add support for objects with tiles
|
2023-11-11 09:21:59 +01:00 |
|
|
|
b46663bf88
|
Prevent input handling, if it is over ImGui
|
2023-11-11 07:06:19 +01:00 |
|
|
|
1908150635
|
Place buildings
|
2023-11-11 07:01:49 +01:00 |
|
|
|
2f358ef5f7
|
Remove nuklear from engine
|
2023-11-10 10:13:49 +01:00 |
|
|
|
fb7c0831da
|
Rename BUILDINGS to BuildingType, add owner component to entities
|
2023-11-10 06:47:50 +01:00 |
|