Book Image

Raspberry Pi Projects for Kids

By : Daniel Leonard Bates
Book Image

Raspberry Pi Projects for Kids

By: Daniel Leonard Bates

Overview of this book

Table of Contents (11 chapters)

Creating a level


Now, let's make the game look a little more interesting by adding some scenery with the following steps:

  1. At the left of the sprite list, you'll see a white rectangle called Stage. Click on it and then select the Backgrounds tab in the script area. Again, you have the option of drawing your own background or using a pre-existing image, but this time, I recommend creating your own so that you can make the level fun to play.

  2. Click on the Edit button. Try to keep your background as simple as possible; it will be easier to add extra objects (for example, the ground, trees, and clouds) as additional sprites later because then you will be able to move them around more easily. It is perhaps easiest to simply fill the background with a solid sky blue color (and maybe some distant mountains).

  3. Now back in the Sprite list, create sprites for all of the scenery you want in your game. At minimum, this will be the ground, but you can add all sorts of little details. With each sprite you create...