Variables – week 2

Following on from last week, this week we are going to look at variables in more depth. You will have the chance to remind yourselves of what variables are and how you can add them to a game.

We will then look at how we can add more complex variables, such as a countdown timer, and make things happen as a result using conditional blocks.

To begin with we will use the same base project as last week:

Pong without scoring


Here’s Kaitlin, Chand and Emily’s project – not only did they get the timer working without any additional support, they also switched backgrounds with the background varying according to how the game ended. Click on the link to the project page to see how they it.

Leave a Reply

Your email address will not be published. Required fields are marked *