Video Thumbnail

Sign up for a plan to instantly unlock all premium lessons.

UNLOCK LESSON

Premium Features

Download Video

Fireflower power-up

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

Login
r
revankarora posted 7 months ago

chris

0
r
revankarora posted 7 months ago

hello?

0
r
revankarora posted 7 months ago

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!

0
r
revankarora posted 7 months ago

Hey Chris I messaged you on discord saying that I’ll talk here

0
q
qwertyMaster74 posted 3 years ago

Hi, Whenever I keyup it keeps restarting the game but doesnt spawn the fireflower in. Could you please help me fix this bug?

1

Providing the lift to launch your development career

© 2026 Chris Courses. All rights reserved.