aboutsummaryrefslogtreecommitdiff
path: root/src/player.c
AgeCommit message (Collapse)Author
2023-06-29Add pickaxe pickupJuan J. Martinez
2023-06-25Add entity system, add new enemy (snake)Juan J. Martinez
2023-06-22When player is hit, exit the updateJuan J. Martinez
2023-06-22Player damage, invulnerability, death sequence and respawnJuan J. Martinez
2023-06-22Import entities from the map and spawn themJuan J. Martinez
2023-06-21Add "coyote time"Juan J. Martinez
If the player moves and gains momentum, allow jumping then the gravity as already kicked in to make easier tricky jumps.
2023-06-20Add gold supportJuan J. Martinez
- added gold layer to the map - the player can collect gold - updates the score - TODO: end of stage
2023-06-18Fix horizontal collision detectionJuan J. Martinez
Instead going down, what we want is not going up (so no gravity OR going down).
2023-06-18Enter the player!Juan J. Martinez