Teach Yourself VISUALLY Raspberry Pi by Richard Wentk

Teach Yourself VISUALLY Raspberry Pi by Richard Wentk

Author:Richard Wentk [Wentk, Richard]
Language: eng
Format: epub
Tags: Computers, Systems Architecture, General, vl-nfcompvg
ISBN: 9781118768273
Google: UePAAgAAQBAJ
Amazon: 1118768191
Publisher: Visual
Published: 2014-01-27T17:37:39+00:00


Move a Sprite

You can use motion blocks to change the position of a sprite on the stage. To move a sprite, change its x position to move it left and right, and its y position to move it up and down. You can use a go to block to make a sprite jump from one location to another. Use a glide block to make the sprite move smoothly. You can set a relative position with a move...steps block. Step moves depend on the sprite's direction — its angle on the stage sets where it points. You can use sensing blocks to make the sprite follow the mouse cursor, or the position of another sprite.

Move a Sprite

Launch the desktop and Scratch, if they are not already running.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.