Comments allow you to make notes in your scripts. This can be a great help as you start to make larger applications, and as other Scratch users remix your applications so that you and other Scratchers can understand what a script does without having to look through each piece of it. This movie shows the basics of working with Comments and how to clean up your scripts.
- [Voiceover] As you add more and more scripts to your…Scratch projects, they're going to become more complicated…and harder to keep track of what everything does.…So to make it easier, Scratch has added the feature of…Comments and Clean Up.…Clean Up simply moves your scripts and makes them appear…more organized in your scripting pane.…So if I'm on my Wizard script right here…and I have these scripts, I can just right click…in this gray area and choose Clean Up,…and those scripts move to the top left of the screen.…
Well, what happens when we go over to Lightning…where we have multiple blocks of scripts?…I'll right click in the gray area here,…and choose Clean Up as well,…and the scripts are more organized.…Now it didn't change any of my scripts,…it just moved them so that they're not in random places,…and it also condenses that space that I have,…so I have more space to add new scripts down here.…We could also comments.…For example, if I wanted to explain rightEdge…was a variable I created representing the right edge…
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
Teaching iOS Programming to Kidswith Todd Perkins1h 1m 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.