Sara
|
87c976824e
|
chore: added whitespace around a function
|
2023-11-28 10:27:26 +01:00 |
|
Sara
|
087b74244e
|
chore: improved formatting in PlayerGetDepth
|
2023-11-27 19:03:08 +01:00 |
|
Sara
|
1dae0d7f12
|
fix(windows): removed cast from static definition
|
2023-11-27 19:02:33 +01:00 |
|
Sara
|
804d8784a3
|
feat: implemented basic skeleton of the enemy type
|
2023-11-27 19:01:11 +01:00 |
|
Sara
|
dd2f0799cb
|
feat: messages header to define message ids globally
|
2023-11-27 19:00:27 +01:00 |
|
Sara
|
39999eaabd
|
feat: created Enemy struct
|
2023-11-27 17:41:56 +01:00 |
|
Sara
|
71d8ebd45c
|
feat: prop now destroys itself when receiving message id 1
|
2023-11-27 17:41:44 +01:00 |
|
Sara
|
02f48c5fb3
|
feat: player attacks now have better timing for the attack frame
|
2023-11-27 17:41:14 +01:00 |
|
Sara
|
53af5fb66d
|
feat: player implements no message receiver
|
2023-11-27 17:40:51 +01:00 |
|
Sara
|
ece2a24a78
|
chore: removed tabs from whitespace-only lines
|
2023-11-26 13:32:27 +01:00 |
|
Sara
|
b1a4fa2f0a
|
feat: modified boxing bag collision box
|
2023-11-26 13:19:47 +01:00 |
|
Sara
|
f2159a31a9
|
feat: collision shape is for prop now initialized with physics entity and PHYSICS_LAYER_DEFAULT
|
2023-11-26 13:15:07 +01:00 |
|
Sara
|
20c5d9dfe1
|
feat: tracking facing direction
|
2023-11-26 13:12:56 +01:00 |
|
Sara
|
b82c0a5765
|
feat: added bias to player depth
|
2023-11-26 13:12:41 +01:00 |
|
Sara
|
94cc7e8c6c
|
feat: increased size of the player collider
|
2023-11-26 13:11:30 +01:00 |
|
Sara
|
0b0f4bcdfb
|
asset: scaled up punching bag
|
2023-11-26 13:02:49 +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
|
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
|
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
|
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
|
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
|
eb871a9d5f
|
feat(player): players state machine is now it's own file
|
2023-11-24 19:08:48 +01:00 |
|
Sara
|
74e633f070
|
feat(build): assets/ is now a build input
|
2023-11-24 19:08:10 +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
|
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
|
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
|
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
|
f7607f71ab
|
fix: PlayerIdleUpdate return value is now const State* in line with DefineState requirements
|
2023-11-23 09:15:16 +01:00 |
|
Sara
|
1ffbd74a08
|
feat(player): added PlayerIdleUpdate, which calls PlayerAnimationUpdate
|
2023-11-22 20:58:10 +01:00 |
|
Sara
|
3c647ccfc2
|
fix(warnings): added _DataType argument to DefineState to improve type checking
|
2023-11-22 15:58:59 +01:00 |
|
Sara
|
2b1aa6236f
|
Changed SDL_DrawLine to SDL_DrawLineF in physics_entity_debug_draw and added input to player
|
2023-11-22 15:14:59 +01:00 |
|
Sara
|
918e73c306
|
split animation frame and facing direction
|
2023-11-22 13:57:27 +01:00 |
|
Sara
|
ad983812f6
|
changed camera FOV
|
2023-11-22 13:16:14 +01:00 |
|
Sara
|
9e643e7cec
|
feat(testing game): Player is now spawned in play()
|
2023-11-22 13:10:42 +01:00 |
|
Sara
|
0ccdc8c5d0
|
fix(build config): debugdir for Game project is now game/ directory
|
2023-11-22 13:10:19 +01:00 |
|