如何使用scratch 2.0来编程游戏?(英文版)

上传人:mg****85 文档编号:44581794 上传时间:2018-06-14 格式:PDF 页数:79 大小:8.91MB
返回 下载 相关 举报
如何使用scratch 2.0来编程游戏?(英文版)_第1页
第1页 / 共79页
如何使用scratch 2.0来编程游戏?(英文版)_第2页
第2页 / 共79页
如何使用scratch 2.0来编程游戏?(英文版)_第3页
第3页 / 共79页
如何使用scratch 2.0来编程游戏?(英文版)_第4页
第4页 / 共79页
如何使用scratch 2.0来编程游戏?(英文版)_第5页
第5页 / 共79页
点击查看更多>>
资源描述

《如何使用scratch 2.0来编程游戏?(英文版)》由会员分享,可在线阅读,更多相关《如何使用scratch 2.0来编程游戏?(英文版)(79页珍藏版)》请在金锄头文库上搜索。

1、 1.1 Encounter a Spaceship Intro Mike, a student of Grade 5, is always looking forward to exploring the outer space. One day, he comes across a spaceship on his way back home. What does this spaceship look like? And what will happen to them? Tasks 1. Get familiar with the interface of Scratch 2.0 2.

2、 Understand the features of each sprite and the backdrop 3. Learn to create a new sprite and backdrop. Start Learning Sprite is the actor in one piece of work. Scratch provides multiple ways of creating sprites. Now, lets learn how to use Scratch! 1. Create Sprites Tool Explanation Choose a sprite f

3、rom the Sprite Library Create a new sprite Import (upload) a sprite from local file Create a sprite via taking photo 2. Rich Sprite Library Click to choose a sprite from the Sprite Library. With the sprites being sorted into different types, you can choose the wanted sprite according to the actual s

4、tory. Practice: Import sprites “Mike.png“ and “Spaceship.png“ from local files. 3. Adjust the Size After importing the sprites into the stage, you can use the following icons to adjust the size of the sprite per needed. Practice: Try to adjust size of the sprite you choose. Explore Right click the s

5、prites to explore the other functions. Tool Explanation Copy Delete Zoom In Zoom Out 4. Create Backdrop Stage is the arena for sprites to move and act. You can add a backdrop on the stage to make your story more interesting and vivid. Meanwhile, adding backdrop will also expand the story to a furthe

6、r level. Now, lets try this out! Practice: Import the “Encounter.png“ from the local file. What Youve Learnt? Adventure Diary (Self-Assessment) Gas Station (Others Assessment) Tool Explanation Four ways to create the backdrop: Choose from the Backdrop Library; Create a new backdrop; Import backdrop

7、from local files; Take a photo as the backdrop On the backdrop tag page, you can choose to add, delete and change backdrop. 1.2 Locate the Coordinate Intro Mike is a fan for travel and exploration. To avoid losing the direction and continue his adventure safely while in the wild, Mike needs to learn

8、 how to locate his coordinate. Task 1. Know the concept of coordinate 2. Learn how to move to the designated position Start Learning 1. Coordinate System Every sprite has its/her/his own position on the stage. To manage them well, we need to first get familiar with the coordinate system of the stage

9、. The central coordinate of the stage lies on (0,0), with the horizontal direction as X-axis and vertical direction as Y. Divided by the central coordinate, the right part of the X-axis is positive X-axis (+), left negative X-axis (-); the upper part of the Y-axis divided by the central coordinate i

10、s positive Y-axis and the lower part Negative Y-axis. Knowing the coordinate systems is the essential step of operate the position of all sprites on the stage. 2. Move to A Designated Position Blocks Explanation Example Control the operation of the whole program Practice: Mike is not in a good mood

11、today, so lets ask him to walk around the stage for some relaxation. The coordinates of the 4 corners on the stage are: (-240,180), (240,180), (240,-180), (-240,-180). Make sure Mike is not walking at a fast speed. Achieve Sprite Program Effect Spaceship Mike Additional Training Choose a backdrop, c

12、reate a new sprite as Mikes friend and let them race with each other. Lets see who will win the race. Tips You can use the Random Number Block for a race to make it more intense and exciting. Come on and have a try! (Random Number Block: the block will randomly choose a number in the available range

13、) Homework Choose one sprite that you like and make it move! Make the sprite to move to a designated coordinate Make the sprite to move to a specified coordination in a certain period of time What Youve Learnt? Adventure Diary (Self-Assessment) Gas Station (Others Assessment) 1.3 Self Introduction I

14、ntro One day, Mike was examining his little spaceship carefully when suddenly he found that the spaceship can talk! Mike fixed the spaceship with the help of its voice prompt. Now, what on earth that spaceship is capable to do? Lets hear their conversation. Tasks 1. Make the spaceship talk 2. Learn

15、to change the appearance of the spaceship Start Learning 1. Mikes Surprise Communication via conversation between sprites is required in order to keep the story going. Now lets realize this goal using the blocks from Scripts Module. Block Explanation Example Perform the next block after waiting for

16、a designated period of time Enable the sprite to speak Practice 1. Make Mike to give a self-introduction 2. Lets name Mikes spaceship as “Mike No.1“, how is it? Explore Do you have any questions about Mike No.1? Lets ask Mike to help ask for the answers! 2. Mike No.1 Block Explanation Example Change the sprites color to the color number you set Change the sprites color based on its current color Practice Mike No.1 is an extraordinary spaceship which can

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 生活休闲 > 科普知识

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号