Commit graph

18 commits

Author SHA1 Message Date
Sara a27acee155 feat: drag for enemy is now calculated in EnemyUpdate
instead of separately in the states
2024-01-20 12:55:17 +01:00
Sara 73104a02c4 feat: documentation pass 2024-01-20 12:34:13 +01:00
Sara 27fbda2c6d feat: knockback is now implemented using velocity and drag 2024-01-19 18:27:35 +01:00
Sara 92bf07d050 feat: enemy destroy now removes from physics world before destroying colliders and rigidbody 2024-01-19 15:27:48 +01:00
Sara c66a8d8705 feat: changed size of character hitboxes 2024-01-16 17:19:50 +01:00
Sara 9d220a1cb8 feat: added Enemies are now invincible while stunned 2024-01-16 12:35:21 +01:00
Sara 2dec4da52c feat: colliders now have a separate 'mask' and 'layers'
The mask decides the layers a collider collides with
2024-01-15 22:07:46 +01:00
Sara 46ef92ef92 feat: separated combat and movement collision layers 2024-01-14 22:15:10 +01:00
Sara 0c6f1dd8cf feat: reworked typeclasses to forward-declare then define
forward declarations are simplified with decl_typeclass_impl
impl_Typeclass_for now instead only define
static inline impl_Typeclass_for can be used to achieve the old behaviour
2024-01-12 09:02:42 +01:00
Sara bf23ff877a feat: replaced messagereceiver with mirror 2024-01-11 23:28:42 +01:00
Sara 9fbbd833a5 feat: enemy now looks at player when hit 2023-12-01 21:44:30 +01:00
Sara 04ade25772 chore: removed debug draws 2023-11-29 14:20:40 +01:00
Sara 26bea065b9 feat: enemy animation and hurt reaction 2023-11-29 14:20:19 +01:00
Sara 29a40ce082 feat: changed handle message signature to (T*, MessageID, uintptr_t) 2023-11-29 14:18:51 +01:00
Sara 879d72e10f feat: enemy now initializes 2 animations, and declares 3 2023-11-29 11:49:00 +01:00
Sara 87c976824e chore: added whitespace around a function 2023-11-28 10:27:26 +01:00
Sara 804d8784a3 feat: implemented basic skeleton of the enemy type 2023-11-27 19:01:11 +01:00
Sara 39999eaabd feat: created Enemy struct 2023-11-27 17:41:56 +01:00