Scratch's scripts are grouped according to their functionality. The motion scripts deal with objects moving, and their current position on the screen, as well as their rotation. This movie discusses the basics of working with the motion scripts in Scratch, and shows how you can add motion scripts to your sprites in order to create animations in Scratch.
- [Voiceover] Scripts are what give life to your apps.…Using scripts you can apply movement to your characters.…You can respond to events like when a character is…clicked on, or when a button is pressed on the keyboard.…Or, when your mouse moves.…You can add sound effects.…And, that's what's going to give the life…to your applications.…Now, in order to apply scripts you're going to need…to be on the scripts panel.…You're also going to need to have the sprite…selected that you want to apply scripts to.…
So we want to apply scripts to our cat…so, he's selected there.…And then, what we do is we start with some kind…of event, usually.…So, I'm going to click on the events section.…And, I'm going to choose when the flag is clicked.…So, this is what's going to trigger whatever…scripts that we apply.…So, I'm going to click and drag this right in here.…Now this area is where you place the scripts that…you want to apply.…So, as soon as we start running the app then,…the scripts that we attach to this are going to run.…
So, let's go back to motion.…
He starts with demonstrating how to create your first project and gather the artwork (aka sprites) and other assets you'll need to build it. Todd then reviews the prebuilt scripts, the bits of code that control the logic of your Scratch projects, and explains how to use the different script types for different functions, such as animating sprites, responding to events such as button clicks, and comparing values. In chapter 3, he covers costumes, and in chapter 4, he shows how to load and play sounds. Finally, he shows how to put it all together into a complete web game, which you can then share with the Scratch community.
- What is Scratch?
- Creating your first project
- Choosing a backdrop for your application
- Creating sprites (reusable graphics) in Scratch
- Working with scripts: animating objects, responding to events, and checking logic
- Switching sprite costumes
- Changing the appearance of sprites with custom-drawn costumes
- Playing sounds
- Building a game with Scratch
Skill Level Beginner
Teach Kids Programming with PHPwith Mark Niemann-Ross1h 39m Beginner
1. Get Started with Scratch
5. Build a Game
Next steps2m 36s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.