Scratch's Pen scripts allow you to treat a sprite like a pen- making it draw lines and other shapes on the stage. There are many options when using Pen scripts, including putting the pen down on the stage to start drawing, lifting the pen up from the stage to stop drawing, changing the color of the pen, and changing the size of the pen. See the basics of using the Pen scripts in this movie.
- [Voiceover] The Pen scripts allow you…to draw on the screen.…So, let's say here, we have our ladybug app…that moves around with key presses on the keyboard.…Let's say we wanted to have the ladybug…trace a path as she moves.…So, here is a little app we created in another movie.…So, if you're wondering how these scripts work,…you can look in the previous movie and check that out.…So, what I wanna do is make the pen draw.…Now if you go to the pen scripts,…you're going to see clear…and that's going to clear everything…that's been drawn with a pen.…
Stamp creates copies of an object.…So, if we told this ladybug to stamp,…like I can click this right here,…then drag the ladybug over…and there's a copy of the ladybug.…Now, this stamp is not a separate spread.…I can't drag it out.…I can only drag this one.…So, stamp's create just a visible copy,…but not a new interactive sprite.…And again, we can erase those…by just running the clear script.…So, I click clear and the extra ladybug…goes away.…
Now, pen up and pen down do what you might expect.…
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.