Commit graph

230 commits

Author SHA1 Message Date
Sara 2032488149 added player 2023-11-22 11:46:50 +01:00
Sara 3ebc370ca4 added state machine 2023-11-22 11:46:46 +01:00
Sara 5cb53f39f2 reworked default drop implementation 2023-11-22 11:45:58 +01:00
Sara 9f3bfcb879 Merge remote-tracking branch 'origin/template' into template-test 2023-11-22 11:45:10 +01:00
Sara 76c9ecd2e9 added .vscode to gitignore 2023-11-22 11:45:06 +01:00
Sara 4e5ed0af94 added define for isnanf to be _isnanf on windows, because windows sucks 2023-11-21 11:03:45 +01:00
Sara 810761aedf removed a trailing space 2023-11-21 11:03:26 +01:00
Sara c78dbba674 windows does not consider object initializers with a cast operator static 2023-11-21 11:03:09 +01:00
Sara 5755efb529 solution files now also in .gitignore 2023-11-21 11:02:30 +01:00
Sara e479ecf0ad reworked build config, now works on windows 2023-11-21 11:01:36 +01:00
Sara 9d34f2cbeb updated gitignore 2023-11-21 11:01:19 +01:00
Sara 23a134aedc added sdl windows libraries because windows sucks 2023-11-21 11:01:10 +01:00
Sara c10c4ad629 further moving towards new build system 2023-11-20 14:10:48 +01:00
Sara c6d4351c48 added stddef include to vmath 2023-11-20 14:10:40 +01:00
Sara 9bc74046d6 top-level object of build.lua is now a workspace call 2023-11-20 13:23:03 +01:00
Sara 5ab93d62ad new build system config 2023-11-20 12:04:55 +01:00
Sara 96867d6e1b added Make* and *From functions for Vector and IVector 2023-11-16 18:25:59 +01:00
Sara 956b2ab02f imported player walking spritesheet 2023-11-16 18:25:41 +01:00
Sara c3f059eeb7 removed platformer code 2023-11-16 13:31:45 +01:00
Sara 8e489fcec2 updated player sprite 2023-11-15 21:23:40 +01:00
Sara 9985cd577f removed unused includes 2023-11-15 11:07:12 +01:00
Sara 3a5f8d2def added attack and improved animation 2023-11-13 21:46:39 +01:00
Sara 98c7f97c43 halved physics solve iterations to 50 with no clear change 2023-11-13 21:45:56 +01:00
Sara 3e531e1b6e switched order of level and player drawing 2023-11-13 21:45:44 +01:00
Sara dd6ce5deba modified sprites 2023-11-13 21:45:35 +01:00
Sara bc1851f816 modified collision shapes 2023-11-13 21:45:29 +01:00
Sara 6f45df4d6b removed unused includes 2023-11-12 19:51:37 +01:00
Sara 5119d56d5e removed unused vmath include from input 2023-11-12 19:46:35 +01:00
Sara 988a87712b player animation speed set to 8fps 2023-11-12 16:05:20 +01:00
Sara c86904dd45 player now animates 2023-11-12 14:01:09 +01:00
Sara f162a29b3c tile count is now calculated as "tiles on x" times "tiles on y" 2023-11-12 14:01:02 +01:00
Sara bfb354a3cf implemented animation and sprite flipping 2023-11-12 14:00:37 +01:00
Sara b91880c17c reworked bouncing 2023-11-12 13:59:52 +01:00
Sara 552f296b5d removed some unneeded includes 2023-11-11 23:28:30 +01:00
Sara a5405c8222 removed compile commands from repo 2023-11-11 23:28:09 +01:00
Sara e0539ad7eb program_run returns void 2023-11-11 12:58:50 +01:00
Sara 63f985da65 frames are now tiles in sprite(/sheet) terminology 2023-11-11 12:58:36 +01:00
Sara 8f4de070a9 program_run now does not return anything 2023-11-11 12:58:05 +01:00
Sara fb53954205 reformatted player input calls 2023-11-11 12:57:44 +01:00
Sara b7a370c820 marked _internal_open_<device> functions inline 2023-11-11 12:57:01 +01:00
Sara 1d2e5d57e5 cleaned up includes for fencer.c 2023-11-10 08:23:53 +01:00
Sara a51f8f2bcd Merge branch 'input-rework' 2023-11-07 20:53:46 +01:00
Sara 65ee914e52 removed extranious player.h include from collision.c 2023-11-07 20:40:38 +01:00
Sara 63713a59e7 assets now integrate Asset trait 2023-11-06 21:16:21 +01:00
Sara 6e61a7666a declared Asset trait combining Drop with a getter and setter for an asset id 2023-11-06 21:16:06 +01:00
Sara 67b751c136 list_empty will now deallocate data completely 2023-11-06 21:15:34 +01:00
Sara 4ff8d985a7 added design document 2023-11-06 09:00:53 +01:00
Sara 0d711f7ef4 reran bear 2023-11-05 23:13:04 +01:00
Sara 86ba2b8c29 implemented new input system 2023-11-05 23:12:56 +01:00
Sara 43527cd675 updated levels 2023-11-05 23:12:45 +01:00