Based on ssaamm's "platformer" and using the sprites from his "mario (coming soon)".
Use the left and right arrow keys to go left and right, spacebar does a jump. Your goal is to get to the teal doors without touching the light yellow shapes.
From test 2 on, there is a time limit of 60 seconds per level. If you get below 15 seconds, Mario thinks "I'm almost out of time!" and there is a clock ticking noise.
From test 3 on, there is music. Also, the "Time Remaining" icon fades out with the rest of the game when you win or lose.
This version contains the same 3 levels as Test 3.
Fixed bugs: 1. When on a moving platform or walking down a slope, the walking animation didn't look quite right. This was fixed by adding a jump variable that would only be active if Mario hadn't touched red or dark red in a tenth of a second instead of checking immediately for just dark red.
2. The red box that hides the "Time Remaining" icon used to come back after the fade animation was done. This has been prevented by changing the "Winner!!" and "Game over" text to a sprite instead of a background.
3. When you lost the game and clicked to restart, you would lose immediately on the first click because the mario sprite was still at 0 health. This has been fixed by making the 0 health condition only activate after a tenth of a second into the game.
4. If Mario fell into the bottom of the screen and took damage from the light yellow shapes, he would get stuck and continue to take damage. Now, he will teleport back to the beginning of the level after taking damage at the bottom of the screen.
Comments
You need to be logged in to post comments
Add a Comment
i won