Tutorials
Blocks
Manual
Getting Started
2 of 11
Click to watch the tutorial
Click the blocks button
Add a new paramater to the glide procedure
Click the pencil symbol on teh define glide block.
Select 'Add Parameter'
Select 'Value' then click on 'parameter' and type in 'speed'
Click 'Update Block'
Click Math, drag random integer block to call glide block.
Change random block minimum field to '10' and its maximum field to '100'.
Drag the math block from set sprite1's x speed to the garbage can.
Drag speed variable block to set sprite1's x speed block.
Click Play.
Click 'Reset Game' a few times to see sprite1 traveling at different speeds.
proceduresAndParameters
000_addValue
NEXT
Go to next tutorial
3. Move toward mouse