Commit graph

313 commits

Author SHA1 Message Date
Sara 92907b1b82 feat: added PHYSICS_LAYER_DEFAULT mask #define 2023-11-26 13:06:16 +01:00
Sara c9b6a0da60 chore(debugging): removed some logging 2023-11-26 13:03:07 +01:00
Sara 0b0f4bcdfb asset: scaled up punching bag 2023-11-26 13:02:49 +01:00
Sara 9c68fca766 feat(physics): added owner to collider 2023-11-26 12:57:30 +01:00
Sara 240186c8de feat(physics): reworked physics to use colliders, allowing for bodies with multiple colliders 2023-11-25 21:52:12 +01:00
Sara 84a940d046 feat(physics): added physics.h header for some physics-system-wide definitions 2023-11-25 21:51:33 +01:00
Sara 6a2a612594 feat(collision): Added collider type to combine a shape with a rigidbody and additional physics settings 2023-11-25 21:51:08 +01:00
Sara 29b2852cea chore: removed debug logs from prop 2023-11-25 11:34:24 +01:00
Sara 1bba6c86f1 feat(game): player and prop now implement get depth for behaviour entity 2023-11-25 11:34:10 +01:00
Sara 966f7b9efe feat(diag): added log to failed reserve on copy 2023-11-25 11:33:37 +01:00
Sara ac8cacd2fc feat(render): added render depth to behaviour entities 2023-11-25 11:33:11 +01:00
Sara 7851fc5a24 fix: changed player collision size 2023-11-24 23:31:40 +01:00
Sara c406a0a8b9 fix: changed creation order 2023-11-24 23:31:31 +01:00
Sara 36d9fee5f4 fix(animation): changed animation timings 2023-11-24 23:31:15 +01:00
Sara 67b138741b feat(physics): added physics_world_query 2023-11-24 23:23:27 +01:00
Sara 73cd7c5f96 feat(game): now creating punching bag prop in play() 2023-11-24 23:21:11 +01:00
Sara c1e100211e feat(player): player now destroys all objects it creates. Made collision shape smaller 2023-11-24 23:20:57 +01:00
Sara 14e006344e feat(game): added prop object to represent simple static props 2023-11-24 23:20:25 +01:00
Sara b2dda356a1 asset: added punching bag 2023-11-24 23:20:00 +01:00
Sara e2c4f5d4c9 feat(physics): static colliders and physics response 2023-11-24 23:19:43 +01:00
Sara 9adfac023f feat(animation): separated sprite flip logic into helper function 2023-11-24 21:17:24 +01:00
Sara 333ada2752 feat(player): player now implements physics entity 2023-11-24 21:16:28 +01:00
Sara a70658bab6 feat(physics): implemented overlap queries 2023-11-24 21:16:07 +01:00
Sara 5043f1a53e feat(physics): physics entity no longer requires a collision solver, removing support for custom solvers 2023-11-24 21:15:36 +01:00
Sara 90dc3e1792 feat(physics): rigidbodies can now be marked static 2023-11-24 21:15:05 +01:00
Sara 14877b0a28 feat(input): KeyBind will now longer respond to repeat keys 2023-11-24 21:14:33 +01:00
Sara eb871a9d5f feat(player): players state machine is now it's own file 2023-11-24 19:08:48 +01:00
Sara 70a64dfc77 feat(formatting): removed double newline in Build.lua 2023-11-24 19:08:24 +01:00
Sara 74e633f070 feat(build): assets/ is now a build input 2023-11-24 19:08:10 +01:00
Sara e7e952e57d feat(physics): physics entity now supports overlap 2023-11-24 19:07:51 +01:00
Sara 27d6c7e0d7 adjusted player animations 2023-11-24 19:07:19 +01:00
Sara 3f9bfa25fd asset: added punching bag 2023-11-24 19:07:06 +01:00
Sara c1a043c4a7 feat(animation): animation sprite loop mode implemented 2023-11-24 19:06:51 +01:00
Sara 05334eb8ee feat(build): added RMDIR call to postbuildcommands to ensure assets are cleared before being copied 2023-11-24 16:23:49 +01:00
Sara 01d9a9417d feat(game): renamed fencer to beat-em-up and added SpawnPlayer to play 2023-11-24 16:23:24 +01:00
Sara d1870e7a19 feat(game): added player 2023-11-24 16:22:59 +01:00
Sara 7d1bce119b asset: exported player animations 2023-11-24 16:22:45 +01:00
Sara e679bc4a0a asset: added player.svg 2023-11-24 16:22:32 +01:00
Sara 0d28097818 chore(organization): state functions are now ordered to lifetime (enter < update < exit) 2023-11-24 16:22:16 +01:00
Sara fa38d1a7ca feat(sprite): sprite now has a sprite_new_empty function 2023-11-24 16:21:28 +01:00
Sara 54efa7c83e feat(entities): removed spawn function from behaviour entities 2023-11-24 16:20:59 +01:00
Sara 1ee59154fc feat(animation): AnimationSprite no longer owns it's target sprite and has more time functions 2023-11-24 16:20:17 +01:00
Sara adaa01ae4b Merge branch 'template-test' into template 2023-11-23 20:04:09 +01:00
Sara 37ec5a7558 feat(template): removed files not directly needed for the template 2023-11-23 20:03:33 +01:00
Sara 2b7af06d00 feat(builds): Added post-build command to copy game/assets to target directory 2023-11-23 19:59:17 +01:00
Sara 5d512b6c7a added compile_commands/ directory to gitignore 2023-11-23 18:36:28 +01:00
Sara 2f65ef014f chore(formatting): added / at the end of source directory in Build-Game.lua 2023-11-23 18:36:15 +01:00
Sara 1d18873f4b feat(player): reworked some of the player's animation code 2023-11-23 18:35:55 +01:00
Sara dd0af050c9 chore(format): Geany did some automatic formatting 2023-11-23 18:35:27 +01:00
Sara 08a5befc82 chore(format): removed whitespace at the end of a struct 2023-11-23 18:34:58 +01:00