Sara
|
879d72e10f
|
feat: enemy now initializes 2 animations, and declares 3
|
2023-11-29 11:49:00 +01:00 |
|
Sara
|
1fbb3b1530
|
fix: damage is now dealt correctly
|
2023-11-29 11:48:39 +01:00 |
|
Sara
|
b3622ab279
|
feat: play() now spawns an enemy
|
2023-11-29 11:48:02 +01:00 |
|
Sara
|
58e93e3336
|
feat: PlayerStart now resets the animation
|
2023-11-29 11:47:50 +01:00 |
|
Sara
|
c0203325b6
|
feat: created enemy states, declared idle and walk state
|
2023-11-29 11:47:35 +01:00 |
|
Sara
|
3e8c7d4bb7
|
feat: input to rectangle shape is now half extents
|
2023-11-29 11:47:17 +01:00 |
|
Sara
|
f3f48780c0
|
fix: physics world will now include the median point in the right collision set
|
2023-11-29 11:46:47 +01:00 |
|
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
|
b1cecfc0ae
|
feat: physics world now manages active, added and removed entities better
|
2023-11-27 17:40:32 +01:00 |
|
Sara
|
5e371a3754
|
feat: game world now destroys objects for which game_world_destroy has been called
|
2023-11-27 17:40:11 +01:00 |
|
Sara
|
965ae37c7e
|
feat: physicsentity now requires messagereceiver
|
2023-11-27 17:39:05 +01:00 |
|
Sara
|
a4253abfa1
|
feat: added MessageReceiver trait
|
2023-11-27 17:38:54 +01:00 |
|
Sara
|
163fac8f02
|
feat: rigidbody is now constructed using a PhysicsEntity rather than a Transformable
|
2023-11-27 17:38:22 +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
|
e0a05e546e
|
feat: added physics world queries
|
2023-11-26 13:06:36 +01:00 |
|
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 |
|