18 Commits

Author SHA1 Message Date
a5c6569162 Hot reloading: Makefile, inotify, epoll, and splitting .c/.h files 2024-01-09 20:32:12 +07:00
44dc3ccd48 Boid velocity and acceleration when clicking on the screen 2024-01-06 18:24:56 +07:00
50deef7c3d Boids simulation to test things out 2024-01-06 12:29:47 +07:00
05c86f8284 Knight made to move independently, relative screen dimensions 2024-01-06 10:42:38 +07:00
1ff06abdd4 Select knights by dragging rect over them 2024-01-06 09:09:37 +07:00
070f23a467 Multiple Knights with y-depth sorting using insertion sort, texture ids 2024-01-05 17:17:39 +07:00
ba44c72d09 IsAnimationFinished function rather than a bool 2024-01-05 12:42:31 +07:00
1dda2f9315 WIP: Multiple knights after refactoring data structures and creating loops 2024-01-05 12:10:44 +07:00
9dd7727c92 Drawing Debug functions moved to lib.h to clean things up 2024-01-03 09:03:03 +07:00
631940a6eb Unit movement by clicking on the ground, debug stuff 2024-01-01 21:01:46 +07:00
ceca65fb46 Add origin point to sprites, WASD controls camera, debug draw rects, todo list 2024-01-01 16:38:41 +07:00
380361431f Sprite anim looping, knight state management, attacking anim, direction flip 2024-01-01 13:01:35 +07:00
ff49e7d2b3 Separate sprites into .c/.h files 2024-01-01 09:58:51 +07:00
a0126529de Rename config.h to game_data.h 2023-12-31 23:02:19 +07:00
b3cd3e65f7 Got generalized animation system working. Sort of. 2023-12-31 16:31:17 +07:00
882e6bf7a0 Get some animations working, refactor init/update/draw, bring in sprite code 2023-12-30 23:14:31 +07:00
57a609228d Draw tiled map and a blue knight with basic movement keys 2023-12-29 23:47:32 +07:00
0f9ed29a01 First commit 2023-12-29 00:43:35 +07:00