- Scratch Cookbook
- Brandon Milonovich
- 322字
- 2021-08-13 16:40:15
Adding a pre-made sprite
This is one of the easiest ways to get programming quickly! The second of our buttons is called the Choose new Sprite from File button. This will open up a dialog box showing you all of the available sprites in the Scratch library.
You have many different sprites to choose from, including the categories of animals, fantasy, letters, people, things, and transportation.
Note
Remember, sprites are any objects you will be programming to do something in your overall program. In many cases, they will be characters in a story or in a game. In some cases, they may be buttons your user will interact with or some other general object. This is where the categories of letters or things come into play!
Getting ready
For the purposes of our first program, we'll choose one of the animals. You can choose whichever sprite you want, what matters is the programming we'll put into it later on.
How to do it…
Follow these steps and you'll have a new sprite to program within no time:
- Click on the first button from the set of four shown in the following screenshot:
- A dialogue box will pop up to select the sprite. Choose the folder for the type of sprite you want. Either double-click on the folder or click on OK.
- Find the sprite you like and then click on OK.
- The sprite will now be on the stage and ready to program with.
There's more…
The third button in the set we mentioned before allows us to upload a sprite from our computer. If you've created a picture of something on your own, you can use this tool to upload it. The last button allows us to take a picture using a webcam and then upload that as a sprite!
See also
- The Starting up Scratch recipe in this chapter
- The Changing the stage background recipe in this chapter
- Redis使用手冊(cè)
- 漫話大數(shù)據(jù)
- 大數(shù)據(jù)技術(shù)基礎(chǔ)
- 數(shù)據(jù)之巔:數(shù)據(jù)的本質(zhì)與未來
- 文本數(shù)據(jù)挖掘:基于R語言
- Access 2007數(shù)據(jù)庫應(yīng)用上機(jī)指導(dǎo)與練習(xí)
- UDK iOS Game Development Beginner's Guide
- WS-BPEL 2.0 Beginner's Guide
- SQL應(yīng)用及誤區(qū)分析
- Oracle數(shù)據(jù)庫管理、開發(fā)與實(shí)踐
- 數(shù)據(jù)修復(fù)技術(shù)與典型實(shí)例實(shí)戰(zhàn)詳解(第2版)
- 改變未來的九大算法
- 數(shù)據(jù)庫原理與設(shè)計(jì)實(shí)驗(yàn)教程(MySQL版)
- ORACLE 11g權(quán)威指南
- MySQL核心技術(shù)手冊(cè)