Sign up for a plan to instantly unlock all premium lessons.
Premium Features
It's time to add our game's first power-up: the fireflower. The fireflower is originally from the Mario NES games released ages ago, and by obtaining it, Mario is transformed into red overalls which allow him to shoot fireballs at oncoming Goombas.
We'll be covering:
How to create a fireflower sprite and render it
How to swap Mario's spritesheet when the fireflower is obtained
How to make Mario lose the power-up when hit
How to shoot fireballs when the power-up is active
Comments
Want to participate?
Create a free Chris Courses account to begin
hello?
Here is the link to the project repository: https://github.com/arorarevank/Mario-game.git. Could you please fix the code so that the game stops when it reaches the blocktri.png image? After making the necessary changes, please create a new GitHub repository with the updated code and share the Discord link to it. Thank you!
Hey Chris I messaged you on discord saying that I’ll talk here
Hi, Whenever I keyup it keeps restarting the game but doesnt spawn the fireflower in. Could you please help me fix this bug?
chris