HATPC/engine
En Yi 8d94943547 (Temporary) Fix corner collision issue
Changelog:
- When player move diagonally into a corner, collision is missing.
  This is because collision is resolved one-by-one and will not
  move the player if the new position still causes collision. In this
  literal corner case, player will not be moved as the player collide
  with both solids and resolving in either direction would still result
  in collision in the new position, unless both is resolved at the same
  time.
  Temporary 'fix' this by not checking the new position. No real idea
  on how to solve this for now.
2023-02-28 20:56:54 +08:00
..
EC Prevent crate bashing at the corner 2023-02-28 20:54:48 +08:00
AABB.c Remove some questionable code 2023-02-18 15:27:04 +08:00
AABB.h Refactor AABB functions 2023-01-21 11:12:06 +08:00
CMakeLists.txt Refactor and prepare for scene changing 2023-02-12 23:30:55 +08:00
actions.h Implement basic scene switching 2023-02-13 23:05:24 +08:00
constants.h Refactor collision function signature 2023-02-25 11:54:43 +08:00
editor_scene.c Prevent crate bashing at the corner 2023-02-28 20:54:48 +08:00
engine.c Implement basic scene switching 2023-02-13 23:05:24 +08:00
engine.h Implement basic scene switching 2023-02-13 23:05:24 +08:00
game_systems.c (Temporary) Fix corner collision issue 2023-02-28 20:56:54 +08:00
game_systems.h Implement hitbox and hurtbox system 2023-02-16 22:44:05 +08:00
gui.c Add simple button for menu testing 2023-02-11 20:51:01 +08:00
gui.h Add simple button for menu testing 2023-02-11 20:51:01 +08:00
menu_scene.c Implement basic scene switching 2023-02-13 23:05:24 +08:00
raygui.h Add simple button for menu testing 2023-02-11 20:51:01 +08:00
scene_impl.h Refactor and prepare for scene changing 2023-02-12 23:30:55 +08:00