En Yi
63930fbe7d
Update hitbox-hurtbox system
...
Changelog:
- Use atk and def values to determine whether a hitbox destroys a
hurtbox
2023-06-17 13:08:07 +08:00
En Yi
542c7cf57c
Add crouch sprite transition
2023-05-27 16:39:17 +08:00
En Yi
937f63b0ca
Add pause feature on sprite animation
...
Ladder animation now pauses on no movement
2023-05-24 21:54:59 +08:00
En Yi
c0aa37886f
Add Player Ladder, Crouch, and Swim transitions
2023-05-24 21:34:50 +08:00
En Yi
9c2e21f4d2
Add jumping and falling player sprites
2023-05-23 21:42:01 +08:00
En Yi
b1a6430eb7
Add horizontal flip to sprites
2023-05-23 21:33:05 +08:00
En Yi
237bee41a9
Add simple player transition logic Stand<->Run
2023-05-23 21:17:36 +08:00
En Yi
bc7f9ef777
Add manager field to an entity
...
Since an entity is essentially tied to a manager, put it as a field in
Entity. This means no need to pass entity manager when getting a
component, which is more intuitive.
2023-05-23 21:00:23 +08:00
En Yi
b0e1d33ad6
Implement player sprite info loading from file
2023-05-22 20:33:48 +08:00
En Yi
98450d0bba
Rework Entity Sprite Component & Add Tile Sprite
...
Changelog:
- Add tile sprites as part of Level Data
- Render tile sprite if loaded in
- CSprite now stores array of sprite rendering info
- use current idx to keep track
2023-05-20 18:23:26 +08:00
En Yi
3580209f71
Refactor out implementation of Player Entity
2023-05-16 21:55:59 +08:00