This tutorial is all about scratch. If you don’t know what scratch is. Scratch is a website that you can use blocks to make games and have fun!
Ok now let’s get started!
Move 10 Steps:
See below for an example of how to move 10 steps using a motion block. You can change the “10” to whatever numeric value you want. If you click the “steps” your character will move.
Turn Left 15 Degrees:
See below for an example of how to turn left 15 degrees using a motion block. You can change the “15” to whatever numeric value you want. If you click the “degrees” your character will continue to turn left on each click.
Turn Right 15 Degrees:
See below for an example of how to turn right 15 degrees using a motion block. You can change the “15” to whatever numeric value you want. If you click the “degrees” your character will continue to turn right on each click.
Point in Direction 90°:
See below for an example of how point in direction 90° using a motion block. You can change the “90” to whatever degree value you want. If you click the “point in direction” your character will continue to point in direction on each click.
Go to X:0 Y:0:
See below for an example of how to go to x:0 y:0 using a motion block. You can change the “0” to whatever degree value you want. If you click the “go to x:0 y:0” your character will continue to go to x:0 y:0 on each click.
Glide 1 Seconds to Y:0 Y:0:
See below for an example of how to Glide 1 Seconds to x:0 y:o using a motion block. You can change the”0″ to whatever degree value you want. If you click the “glide 1 Seconds to x:0 y:o” your character will continue to Glide 1 Seconds to x:0 y:o on each click.
If on Edge Bounce:
This motion block will do nothing on it’s own and is usually used with a control block. When used with a control block you could move 10 steps and then use this control and what will occur is your character will move 10 steps and then bounce off the edge of your area and go the opposite way.
Y Position:
This block tells you what y position you`re in.
X Position:
This block tells you what x position you`re in.
Set Y to 0:
See below for an example of how set Y to 0 using a motion block. You can change the “0” to whatever value you want. If you click the set Y to 0 your character will go to Y0 position.
Set X to 0:
See below for an example of how set X to 0 using a motion block. You can change the “0” to whatever degree value you want. If you click the set X to 0 your character will go to X0 position.
Set Rotation Style:
Set rotation style does nothing on it`s own. There are three options which are “left-right”, “don`t rotate” and “all around”. If you choose to move steps and are using “if on edge, bounce” and you set the rotation to “left-right”. Then your character will turn to face the direction it is heading but only in the left and right selection. If you chose “all around” then if your character is heading down or up or left or right it will face that direction. If you chose don`t rotate then your character will not rotate.
Point Towards Mouse Pointer:
“Point towards mouse-pointer” will turn your character to point directly at where your mouse is currenty at. If you use it by itselve it will only repeat 1 time. With both a “point towards mouse-pointer” and a forever block it will go always turn to face where your mouse is currently located.
Go to Mouse Pointer:
“Go to Mouse Pointer” will move your character to directly where your mouse is currenty at. If you use it by itself it will only repeat 1 time. With both a “Go to Mouse Pointer” and a forever block it will always move to where your mouse is currently located.
Point in Direction ?:
The Point in Direction block makes your character point in the direction you pick. There are 4 options that you can use which are “90 right”, “-90 left”, “0 up” and “180 down”. However you can just enter the degree you want manually as well.
You must be logged in to post a comment.