If you are using Scratch to learn to code, you are probably using the motion blocks. Here are 10 ways to make the most of these coding blocks and overcome common issues.
1. I Want More
If a motion block has an arrow, this means the block provides more choices. For example, go to random position is also go to mouse pointer, and go to sprite.
2. Steppin’ Out
Did you know? There are 480 steps from the left side of the stage to the right. Use this as a guide when choosing a number in the move x steps block.
3. Too Fast to See
If things are happening too fast and you can’t see the action, add a wait block after or before a Motion block. Set the number of seconds to create a pause.
4. All Turned Around
If you turn a sprite too much, you can return it to upright by using the Directions in the Sprite pane or the point in direction 90 block.
5. Still Turned Around
Is your sprite moving upside down? In the Sprites pane, change the Direction to Left/Right, instead of All Around (which is the default).
6. Move from Here to There
If the sprite seems to bolt from one place to another, use a glide block to smooth the action.
7. Set Start and End Points
To create the start or end point of a sprite, first drag the sprite where you want it on the stage, THEN grab the go to block. It will have the correct X and Y coordinates already placed in the block.
8. Be the Mouse Pointer
You can use the go to mouse-pointer block to turn a sprite into the cursor. This is an excellent way to control game play. However, if you try to edit a script it may be difficult because the cursor is now the sprite. If this happens, click the STOP button. Now you can edit the code. If you find this issue continues to happen, temporarily detach the go to mouse-pointer block.
9. Back It Up
A sprite can move backwards using a negative number. Use this to move a sprite back a number of steps.
10. Carry a Sprite
If you want the action to look like a sprite picked up an object, use the go to sprite block. This will make the two sprites join.
Motion Blocks and a Whole Lot More!
Would you like to become a Scratch pro? Learn tips and tricks like these, and a lot more in TechnoArcade. In this project, students become game developers. They make a variety of fun arcade games using Scratch – Jumble Tumble, Let’s Jam, Mystery Island, and Lost Treasure. Discover how to use Control, Looks, Sound, and Events blocks, and more. Explore loops, if-then logic, and variables. TechnoArcade includes a digital Teacher Guide and Student Workbook with easy to follow instructions. Check it out here!