When you’re done with this chapter, you will

  • Be able to build games with life-like motion including: jumping, falling, and colliding
  • Understand how to build 2D games
  • Have a challenging mini-game!

Chapter 14Project: The Purple Fruit Monster Game

In this chapter we’ll make a two-dimensional jumping game. The player will use keyboard controls to make the Purple Fruit Monster jump and move to capture as much rolling fruit as possible, without touching the ground. It will end up looking something like this:

images/purple_fruit_monster/when_you_are_done.png

This might seem like a simple game to write, but we’re going to use a lot of the skills and knowledge that we’ve been building up in the ...

Get 3D Game Programming for Kids, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.