- Scratch Cookbook
- Brandon Milonovich
- 183字
- 2021-08-13 16:40:18
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.
- SQL Server入門經(jīng)典
- Test-Driven Development with Mockito
- Creating Mobile Apps with Sencha Touch 2
- Python廣告數(shù)據(jù)挖掘與分析實戰(zhàn)
- 分布式數(shù)據(jù)庫系統(tǒng):大數(shù)據(jù)時代新型數(shù)據(jù)庫技術(第3版)
- 城市計算
- Python金融實戰(zhàn)
- 高維數(shù)據(jù)分析預處理技術
- 達夢數(shù)據(jù)庫運維實戰(zhàn)
- Google Cloud Platform for Developers
- Visual FoxPro數(shù)據(jù)庫技術基礎
- 數(shù)據(jù)庫查詢優(yōu)化器的藝術:原理解析與SQL性能優(yōu)化
- 數(shù)據(jù)挖掘與機器學習-WEKA應用技術與實踐(第二版)
- 標簽類目體系:面向業(yè)務的數(shù)據(jù)資產(chǎn)設計方法論
- SOLIDWORKS 2018中文版機械設計基礎與實例教程