O'Reilly logo

Monkey Game Development by Michael Hartlef

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — rendering the explosions

Add a call to the function RenderExplosions, inside the RenderGame method.

RenderLaunchers()
RenderRockets()
RenderExplosions
Return True

What just happened?

With just a few new statements, we implemented the explosion class inside the game. When you run the game now, you will see neat explosions, once the rocket reaches its target position.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required