Commit graph

  • f201fe50f5 feat: changed timing for hurtboxes from player Sara 2023-12-01 21:45:10 +0100
  • cca9b97378 chore: newline at the end of a file Sara 2023-12-01 21:44:37 +0100
  • 9fbbd833a5 feat: enemy now looks at player when hit Sara 2023-12-01 21:44:30 +0100
  • c2229a5bba feat: added DamageEventData struct Sara 2023-12-01 21:43:28 +0100
  • 264141ceb5 feat: entry file renamed Sara 2023-12-01 21:43:16 +0100
  • 97cea9c8c7 feat: worked to make walk animation more readable Sara 2023-11-29 16:50:49 +0100
  • 0d7eb82ea7 chore: updated some formatting Sara 2023-11-29 16:27:26 +0100
  • 086e8fc449 feat: player attacks now query combat physics layer Sara 2023-11-29 14:21:08 +0100
  • 04ade25772 chore: removed debug draws Sara 2023-11-29 14:20:40 +0100
  • 26bea065b9 feat: enemy animation and hurt reaction Sara 2023-11-29 14:20:19 +0100
  • 29a40ce082 feat: changed handle message signature to (T*, MessageID, uintptr_t) Sara 2023-11-29 14:18:51 +0100
  • af6c8d33ea feat: input error handling improved Sara 2023-11-29 14:14:01 +0100
  • fbdfef79a2 feat: added Layers.h and defined PHYSICS_LAYER_COMBAT Sara 2023-11-29 14:13:18 +0100
  • 2bf6bea14f fix(types): removed implicit type casts Sara 2023-11-29 14:12:44 +0100
  • f76cb2d57b feat: added hurt animation Sara 2023-11-29 13:47:46 +0100
  • 879d72e10f feat: enemy now initializes 2 animations, and declares 3 Sara 2023-11-29 11:49:00 +0100
  • 1fbb3b1530 fix: damage is now dealt correctly Sara 2023-11-29 11:48:39 +0100
  • b3622ab279 feat: play() now spawns an enemy Sara 2023-11-29 11:48:02 +0100
  • 58e93e3336 feat: PlayerStart now resets the animation Sara 2023-11-29 11:47:50 +0100
  • c0203325b6 feat: created enemy states, declared idle and walk state Sara 2023-11-29 11:47:22 +0100
  • 3e8c7d4bb7 feat: input to rectangle shape is now half extents Sara 2023-11-29 11:47:17 +0100
  • f3f48780c0 fix: physics world will now include the median point in the right collision set Sara 2023-11-29 11:46:47 +0100
  • 87c976824e chore: added whitespace around a function Sara 2023-11-28 10:27:26 +0100
  • 087b74244e chore: improved formatting in PlayerGetDepth Sara 2023-11-27 19:03:08 +0100
  • 1dae0d7f12 fix(windows): removed cast from static definition Sara 2023-11-27 19:02:33 +0100
  • 804d8784a3 feat: implemented basic skeleton of the enemy type Sara 2023-11-27 19:01:11 +0100
  • dd2f0799cb feat: messages header to define message ids globally Sara 2023-11-27 19:00:27 +0100
  • 39999eaabd feat: created Enemy struct Sara 2023-11-27 17:41:54 +0100
  • 71d8ebd45c feat: prop now destroys itself when receiving message id 1 Sara 2023-11-27 17:41:44 +0100
  • 02f48c5fb3 feat: player attacks now have better timing for the attack frame Sara 2023-11-27 17:41:14 +0100
  • 53af5fb66d feat: player implements no message receiver Sara 2023-11-27 17:40:51 +0100
  • b1cecfc0ae feat: physics world now manages active, added and removed entities better Sara 2023-11-27 17:40:32 +0100
  • 5e371a3754 feat: game world now destroys objects for which game_world_destroy has been called Sara 2023-11-27 17:40:11 +0100
  • 965ae37c7e feat: physicsentity now requires messagereceiver Sara 2023-11-27 17:39:05 +0100
  • a4253abfa1 feat: added MessageReceiver trait Sara 2023-11-27 17:38:54 +0100
  • 163fac8f02 feat: rigidbody is now constructed using a PhysicsEntity rather than a Transformable Sara 2023-11-27 17:38:22 +0100
  • ece2a24a78 chore: removed tabs from whitespace-only lines Sara 2023-11-26 13:32:13 +0100
  • b1a4fa2f0a feat: modified boxing bag collision box Sara 2023-11-26 13:19:44 +0100
  • f2159a31a9 feat: collision shape is for prop now initialized with physics entity and PHYSICS_LAYER_DEFAULT Sara 2023-11-26 13:15:07 +0100
  • 20c5d9dfe1 feat: tracking facing direction Sara 2023-11-26 13:12:56 +0100
  • b82c0a5765 feat: added bias to player depth Sara 2023-11-26 13:12:41 +0100
  • 94cc7e8c6c feat: increased size of the player collider Sara 2023-11-26 13:11:30 +0100
  • e0a05e546e feat: added physics world queries Sara 2023-11-26 13:06:36 +0100
  • 92907b1b82 feat: added PHYSICS_LAYER_DEFAULT mask #define Sara 2023-11-26 13:06:16 +0100
  • c9b6a0da60 chore(debugging): removed some logging Sara 2023-11-26 13:02:57 +0100
  • 0b0f4bcdfb asset: scaled up punching bag Sara 2023-11-26 13:02:49 +0100
  • 9c68fca766 feat(physics): added owner to collider Sara 2023-11-26 12:57:30 +0100
  • 240186c8de feat(physics): reworked physics to use colliders, allowing for bodies with multiple colliders Sara 2023-11-25 21:52:12 +0100
  • 84a940d046 feat(physics): added physics.h header for some physics-system-wide definitions Sara 2023-11-25 21:51:33 +0100
  • 6a2a612594 feat(collision): Added collider type to combine a shape with a rigidbody and additional physics settings Sara 2023-11-25 21:51:08 +0100
  • 29b2852cea chore: removed debug logs from prop Sara 2023-11-25 11:34:24 +0100
  • 1bba6c86f1 feat(game): player and prop now implement get depth for behaviour entity Sara 2023-11-25 11:34:10 +0100
  • 966f7b9efe feat(diag): added log to failed reserve on copy Sara 2023-11-25 11:33:37 +0100
  • ac8cacd2fc feat(render): added render depth to behaviour entities Sara 2023-11-25 11:33:11 +0100
  • 7851fc5a24 fix: changed player collision size Sara 2023-11-24 23:31:40 +0100
  • c406a0a8b9 fix: changed creation order Sara 2023-11-24 23:31:31 +0100
  • 36d9fee5f4 fix(animation): changed animation timings Sara 2023-11-24 23:31:15 +0100
  • 67b138741b feat(physics): added physics_world_query Sara 2023-11-24 23:23:27 +0100
  • 73cd7c5f96 feat(game): now creating punching bag prop in play() Sara 2023-11-24 23:21:11 +0100
  • c1e100211e feat(player): player now destroys all objects it creates. Made collision shape smaller Sara 2023-11-24 23:20:57 +0100
  • 14e006344e feat(game): added prop object to represent simple static props Sara 2023-11-24 23:20:25 +0100
  • b2dda356a1 asset: added punching bag Sara 2023-11-24 23:20:00 +0100
  • e2c4f5d4c9 feat(physics): static colliders and physics response Sara 2023-11-24 23:19:43 +0100
  • 9adfac023f feat(animation): separated sprite flip logic into helper function Sara 2023-11-24 21:17:24 +0100
  • 333ada2752 feat(player): player now implements physics entity Sara 2023-11-24 21:16:28 +0100
  • a70658bab6 feat(physics): implemented overlap queries Sara 2023-11-24 21:16:07 +0100
  • 5043f1a53e feat(physics): physics entity no longer requires a collision solver, removing support for custom solvers Sara 2023-11-24 21:15:36 +0100
  • 90dc3e1792 feat(physics): rigidbodies can now be marked static Sara 2023-11-24 21:15:05 +0100
  • 14877b0a28 feat(input): KeyBind will now longer respond to repeat keys Sara 2023-11-24 21:14:08 +0100
  • eb871a9d5f feat(player): players state machine is now it's own file Sara 2023-11-24 19:08:48 +0100
  • 70a64dfc77 feat(formatting): removed double newline in Build.lua Sara 2023-11-24 19:08:24 +0100
  • 74e633f070 feat(build): assets/ is now a build input Sara 2023-11-24 19:08:10 +0100
  • e7e952e57d feat(physics): physics entity now supports overlap Sara 2023-11-24 19:07:51 +0100
  • 27d6c7e0d7 adjusted player animations Sara 2023-11-24 19:07:19 +0100
  • 3f9bfa25fd asset: added punching bag Sara 2023-11-24 19:07:06 +0100
  • c1a043c4a7 feat(animation): animation sprite loop mode implemented Sara 2023-11-24 19:06:51 +0100
  • 05334eb8ee feat(build): added RMDIR call to postbuildcommands to ensure assets are cleared before being copied Sara 2023-11-24 16:23:49 +0100
  • 01d9a9417d feat(game): renamed fencer to beat-em-up and added SpawnPlayer to play Sara 2023-11-24 16:23:24 +0100
  • d1870e7a19 feat(game): added player Sara 2023-11-24 16:22:59 +0100
  • 7d1bce119b asset: exported player animations Sara 2023-11-24 16:22:45 +0100
  • e679bc4a0a asset: added player.svg Sara 2023-11-24 16:22:32 +0100
  • 0d28097818 chore(organization): state functions are now ordered to lifetime (enter < update < exit) Sara 2023-11-24 16:22:16 +0100
  • fa38d1a7ca feat(sprite): sprite now has a sprite_new_empty function Sara 2023-11-24 16:21:28 +0100
  • 54efa7c83e feat(entities): removed spawn function from behaviour entities Sara 2023-11-24 16:20:40 +0100
  • 1ee59154fc feat(animation): AnimationSprite no longer owns it's target sprite and has more time functions Sara 2023-11-24 16:20:17 +0100
  • adaa01ae4b Merge branch 'template-test' into template template Sara 2023-11-23 20:04:09 +0100
  • 37ec5a7558 feat(template): removed files not directly needed for the template template-test Sara 2023-11-23 20:03:33 +0100
  • 2b7af06d00 feat(builds): Added post-build command to copy game/assets to target directory Sara 2023-11-23 19:59:17 +0100
  • 5d512b6c7a added compile_commands/ directory to gitignore Sara 2023-11-23 18:36:28 +0100
  • 2f65ef014f chore(formatting): added / at the end of source directory in Build-Game.lua Sara 2023-11-23 18:36:15 +0100
  • 1d18873f4b feat(player): reworked some of the player's animation code Sara 2023-11-23 18:35:55 +0100
  • dd0af050c9 chore(format): Geany did some automatic formatting Sara 2023-11-23 18:35:27 +0100
  • 08a5befc82 chore(format): removed whitespace at the end of a struct Sara 2023-11-23 18:34:58 +0100
  • 8c3bcbce85 fix: animation_sprite_new now returns self Sara 2023-11-23 09:16:53 +0100
  • f7607f71ab fix: PlayerIdleUpdate return value is now const State* in line with DefineState requirements Sara 2023-11-23 09:15:16 +0100
  • 3e0490d5bf feat(animation): added AnimationSprite to manage an animated sprite Sara 2023-11-22 20:58:06 +0100
  • 1ffbd74a08 feat(player): added PlayerIdleUpdate, which calls PlayerAnimationUpdate Sara 2023-11-22 20:57:38 +0100
  • b0a4de6037 chore(cleanup): simplified sprite_set_tile wrapping Sara 2023-11-22 20:56:49 +0100
  • efdd5f29db chore(whitespace): removed some whitespace in state_machine_init Sara 2023-11-22 16:02:16 +0100
  • 3c647ccfc2 fix(warnings): added _DataType argument to DefineState to improve type checking Sara 2023-11-22 15:58:59 +0100