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)

Extensions


So far we have created the bare minimum for a game. There are all sorts of extra features we could add, such as the following:

  • Animation when two sprites collide

  • A special enemy that gives bonus points

  • Barriers that slow the player down

  • Power-ups that increase the player's speed or flip gravity, for example

  • Extra controls so the player can continue to affect the character after it has been launched

I will leave the rest of your game up to you, but here are some example scripts to give you some ideas. Try to work out what they do and where they might go, or just try them out! Some scripts may require minor modifications elsewhere to fit in properly.