Monday 5 November 2012

Scratch Tutorials

Tutorial 4-
 
Moving Animation:

What does this effect do?
This effect makes the character move

What do each of the codes represent?
The When () Key Pressed block is a Control block and Hat block. When scripts wear this block wil activate when the green flag has been clicked will activate other scripts.

The Forever block is a control block and a C block. It is held in a loop, which never ends unless the stop sign is activated.


The Switch to Costume () block, is a Looks block and Stack block which changes its sprite's costume to a specified one.

The Wait () Secs (block), is a Control Block and a Stack Block, that pauses the script for a specified amount of time (0.3 seconds)

The Move () Steps (block) is a Motion Block and a Stack Block which moves its sprite forward the specificed amount of steps (10).


The If On Edge, Bounce (block) is a Motion Block and a Stack Block which checks to see if the sprite is touching the screen and if it is, the sprite will point that mirrors its direction from where its coming.

No comments:

Post a Comment