Hey and welcome to Scratch Games day 6! In today’s club session, you will make a launching game.
While creating this game, you’ll learn about an important computer science concept:variables, as well as a game-creation concept: increasing difficulty.
In the game you’ll make today, the player must launch and navigate a sprite across ascreen of bouncing enemies. If the player reaches the finish line, a point is addedto their score, and a new enemy is added to the game.
This game uses variables to make the game more difficult.
You may have encountered "variables" in math class, like the x or y you solve for in algebra equations.
Variables in computer science are very similar.
When the code runs, it tells the computer to replace the variable with datafrom that storage location.
In many sports video games, you can easily see the values of some variables. In a footballgame, each football player might have many different attributes, all of which are storedin variables. In the game, the variable will hold the player’s score.
As the player’s score gets higher, the game will get more difficult.
To get started, open the starter project link on this page. Then, add a sprite that theplayer can control. This example project will use a fish, but you can use any sprite youlike for yours. You will probably want to shrink the spriteto make it a better size for this game. Once you’ve done that, move on to the next screencast.
"Football-NFL-Madden 15 :: GREATEST PLAYER EVER! :: Vikings Vs. Steelers - Online Gameplay XboxOne" by Golden GS (https://www.youtube.com/watch?v=0sTcAvtQS9M) -- Licensed by Creative Commons Attribution 3.0 Unported (http://creativecommons.org/licenses/by/3.0/) -- Video trimmed to needed length | Audio removed
"Linear equation for y=3x+1.png" by Nerfer (https://commons.wikimedia.org/wiki/File:Linear_equation_for_y%3D3x%2B1.png) -- Licensed by CC BY-SA 3.0 (https://creativecommons.org/licenses/by-sa/3.0/deed.en) -- No modifications made