In addition to drawing costumes using vector graphics, costumes can be drawn with bitmap graphics as well. For bitmap sprites, that's your starting point. In this movie, see some of the challenges of working with bitmap costumes as well as the benefits. Create a custom animation of a bitmap sprite and watch it animate using a script.
- View Offline
- [Voiceover] So let's say you want to animate a bitmap…using its costumes.…Unlike in vector mode…bitmap mode does not allow…you to select individual shapes.…Because a bitmap is made…with pixels, rather than shapes.…So let's look at some of the options…that you have, when editing a bitmap,…so that you can make an animation.…Now our goal here is to make the palm tree…sway back and forth.…So I have my palm tree selected…and in the costumes tab,…and I have my costume selected.…
I'm going to duplicate this costume,…add in the duplicate that is framed number two,…so there's number two,…and the palm tree two is the name,…of this costume.…In the duplicate I'm going to select…the palm tree.…So I'm going to use this select tool…and then click and drag,…a selection area…around the palm tree.…Now I want everything except…for the base of the palm tree.…I just wanna a few pixels of the bottom,…so that I can use as a reference…when I rotate the tree,…to make sure that the base stays in the same place.…
So I have my selection,…and then I'm going to click and drag it…
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