aboutsummaryrefslogtreecommitdiff
path: root/src/player.c
AgeCommit message (Collapse)Author
2023-07-04Add time monsterJuan J. Martinez
2023-07-03Sound queueJuan J. Martinez
This is to queue sounds and play them when we update the screen, so the sounds are synced with the action. It is required because the MikMod_Update function updates on the clock int, and is not synced with the VGA's vsync.
2023-07-02Add sound supportJuan J. Martinez
2023-06-29Collect pickups even if invulnerableJuan J. Martinez
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