Watch the video to hear Jasmin explain how she created a rugby video game. She shows that by using the arrow keys she can control her player to score a try and side-step the other team. She has also included a countdown timer and a referee character to start and stop the game.
Click on the video to watch Jasmin's video game and to see inside her code.
Jasmin used multiple sprites and coding blocks from:
She created variables for the score and the time remaining which added or subtracted within the game.
She used coordinates to establish a starting point for the user's player and a return point if the player got 'tackled' by the opposition.
Jasmin applied a pressure situation by using a sound block of a clock ticking when time was running out.
If and If Else blocks were used to control what happens to the user's player during the game.
Watch the video to hear Layla explain how she created a rugby video game. She shows that by using arrow keys she can control her player and side-step the other team. She included a countdown timer and the choice for background music.
Click on the video to watch Layla's video game and to see inside her code.
The rugby player was programmed to move using the arrow keys on the keyboard.
The opposition players were programmed to randomly glide around the screen using motion blocks.
Forever loops were used to control the opposition's movements for the duration of the game.
Can you think of ways to change or improve Jasmin's and Layla's video games?
How could you use their ideas to make a different type of video game?