aboutsummaryrefslogtreecommitdiff
path: root/src/player.c
AgeCommit message (Collapse)Author
2023-07-22Joystick supportJuan J. Martinez
2023-07-20Move point a bit higherJuan J. Martinez
This is because when the player is jumping may not look like it touching the gold.
2023-07-20Gravity adjustmentsJuan J. Martinez
2023-07-18This shouldn't be neededJuan J. Martinez
2023-07-17Trim spritesheetJuan J. Martinez
Remove some unused space
2023-07-16Ensure the player is drawn on stageclearJuan J. Martinez
Even if invuln!
2023-07-15Prevent death when the stage is completeJuan J. Martinez
2023-07-10Missed this oneJuan J. Martinez
2023-07-08Avoid drawing the whole screen on each frameJuan J. Martinez
This allows supporting 386DX "just about" (there will be flickering).
2023-07-08Don't draw the player out of screenJuan J. Martinez
We don't have clipping now, so we can't draw out of the screen. Also we want to NOT draw the player during the gameover delay.
2023-07-06Add free enemy (Old Miner)Juan J. Martinez
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