HATPC/engine/EC
En Yi 9eb46d0e57 Implement ladder mechanics
Changelog:
- Change ladder to be in player state component
- Add ladder state transition
    - Hold up or down to enter ladder when overlap with ladder
    - On ground, ladder has to be on foot
    - Either jump or exit a ladder to exit ladder state
- Ignore external forces during ladder state
    - Ladder uses velocity instead of acceleration to move player
- Reduce jump speed if not on ground (such as on ladder)
- Make water transparent, finally
2023-05-06 18:39:10 +08:00
..
sc Make a directory for ECS 2023-01-21 09:38:14 +08:00
CMakeLists.txt Make a directory for ECS 2023-01-21 09:38:14 +08:00
components.h Implement ladder mechanics 2023-05-06 18:39:10 +08:00
entManager.c Attempt to apply code style consitency 2023-04-15 22:52:38 +08:00
entManager.h Attempt to apply code style consitency 2023-04-15 22:52:38 +08:00
entity.h Attempt to apply code style consitency 2023-04-15 22:52:38 +08:00
mempool.c Attempt to apply code style consitency 2023-04-15 22:52:38 +08:00
mempool.h Attempt to apply code style consitency 2023-04-15 22:52:38 +08:00