官术网_书友最值得收藏!

Introduction

The previous chapter was focused on techniques you'll use in telling a story with Scratch. This chapter continues a lot of those ideas and will help us transit into the next chapter on basic gaming. Animation is a broad idea, here we don't mean just for stories, we also mean the types of animation you'll use with games, and anything else you do in Scratch.

Up until now, we've focused heavily on the Looks, Motion, Events, and Control blocks. We are still going to use a number of these blocks we've seen previously in the chapter, but now we'll focus much more on a new category; that is, the Sensing blocks. The Sensing blocks are helpful whenever you need to incorporate user interaction into your program or need sprites to abide by certain conditions. For instance, one of our recipes will involve getting your user to provide a keyboard response. You might also use the Sensing blocks to check if your sprite is touching something on the stage.

Before we dive into sensing, let's get acquainted with using what are called costumes.

主站蜘蛛池模板: 临江市| 周至县| 马公市| 商城县| 广宁县| 穆棱市| 徐闻县| 竹溪县| 贞丰县| 全南县| 绥芬河市| 河西区| 合水县| 临海市| 盘山县| 仙居县| 梁平县| 汤原县| 民勤县| 汽车| 兴城市| 宜州市| 康乐县| 昌平区| 北辰区| 安塞县| 宜黄县| 乌兰县| 沙田区| 炎陵县| 苗栗县| 顺平县| 安远县| 河源市| 奇台县| 商河县| 新泰市| 四平市| 巫山县| 怀来县| 泰安市|