HATPC remake
 
 
 
Go to file
En Yi 68586cd1d2 Add crouching to player
Changelog:
- Add player state component to keep track of crouching
- Add crouch key handling
- Crouch mechanics:
  - Reduce vertical bbox, slightly stretch horizontally
  - Offset position to be on ground
  - Reverse for un-crouching
  - Can jump out of a crouch, reverting the bbox
  - Dont allow un-crouch if there is something overhead (maybe should
    check directly overhead, instead of a full overhead?)
  - Above also apply for jump out of crouch
2022-12-21 23:40:10 +08:00
sc First Commit of HATPC remake 2022-11-26 18:11:51 +08:00
.gitignore First Commit of HATPC remake 2022-11-26 18:11:51 +08:00
CMakeLists.txt Implement test scene 2022-12-05 12:20:00 +08:00
Conventions.txt First Commit of HATPC remake 2022-11-26 18:11:51 +08:00
actions.h Implement key controls to scene 2022-12-11 14:32:26 +08:00
assets.h Implement Scene and Level Scene 2022-12-03 13:46:24 +08:00
components.h Add crouching to player 2022-12-21 23:40:10 +08:00
entManager.c Implement tag on entities 2022-11-26 23:27:45 +08:00
entManager.h Implement tag on entities 2022-11-26 23:27:45 +08:00
entManager_test.c Implement test scene 2022-12-05 12:20:00 +08:00
entity.h Implement tag on entities 2022-11-26 23:27:45 +08:00
lsan_supp.txt Implement test scene 2022-12-05 12:20:00 +08:00
main.c Implement Scene and Level Scene 2022-12-03 13:46:24 +08:00
mempool.c Add crouching to player 2022-12-21 23:40:10 +08:00
mempool.h Adjust function parameters input 2022-11-26 20:49:16 +08:00
scene.c Implement key controls to scene 2022-12-11 14:32:26 +08:00
scene.h Implement key controls to scene 2022-12-11 14:32:26 +08:00
scene_impl.c Add crouching to player 2022-12-21 23:40:10 +08:00
scene_impl.h Add crouching to player 2022-12-21 23:40:10 +08:00
scene_test.c Add crouching to player 2022-12-21 23:40:10 +08:00