编程题

小镇一日游(15 分)

花花小学组织了小镇一日游的活动, 乘坐 scratch Tours 号车浏览小镇风光, 浏览的

顺序为 Colorful City、 School、 Urban 以及 Night City With Street。

1. 准备工作

(1) 选择背景 Colorful City、 School、 Urban 以及 Night City With Street;

(2) 去掉小猫角色;

(3) 选择 City Bus 汽车角色, 添加 Car Horn 声音。

2. 功能实现

(1) 初始的背景为 Colorful City, 汽车的初始位置在屏幕右下角, 面向右面;

(2) 点击绿旗, 汽车角色向左移动 50 步后从 City Bus-a 造型切换到 City Bus-b 造

型, 之后播放 Car Horn 声音, 等待两秒后进入 School 背景;

(3) 进入 School 背景后汽车向左移动 50 步, 播放 Car Horn 声, 等待两秒后进入

Urban 背景;

(4) 进入 Urban 背景后汽车向左移动 50 步, 播放 Car Horn 声音, 等待两秒后进

入背景 Night City With Street;

(5) 进入背景 Night City With Street 后汽车向左移动 50 步, 播放 Car Horn 声音。

查看答案
赣ICP备20007335号-2