Hardware Reference
In-Depth Information
Some pointers and terminology
Before we start working on our awesome, exciting, and fun games, here are a few pointers
and tips for working with Scratch:
Variable : You can think of a variable as a box that can store things. In Scratch,
each variable can store an item, be it a number, a name, or some other value.
Stage : This is the background of the game window. You can set the stage back-
ground to be a number of different images, and even include scripts on the stage.
X position : This is where a sprite is on the x axis of the stage. The x axis goes left
and right (horizontally).
Y Position : This is where a sprite is on the y axis of the stage. The y axis goes up
and down (vertically).
Sprite : This is anything on the game stage. It can be a character, a wall, an enemy,
a power up, and so on. Sprites have their own costumes and code.
Costume : This refers to what a sprite looks like. You can have multiple costumes
for a sprite.
If statement : This simply asks a true or false question. If it's true , do the next
step. A statement that says 2 = 2 which is true, so it continues.
If...else statement : Like the earlier command, an if...else statement will check
whether the statement is true, and if it is not, it will do whatever is in the else
Forever loops : Forever loops are blocks of code that will continuously do a set of
commands. Once it reaches the end, it restarts from the beginning of the block and
performs them over and over.
If you don't know where to find the right command from the example instructions,
look at the color of the command. The colors match the action buttons.
Search WWH ::

Custom Search