第19步:点击 ,将 if or 拖动到碰撞事件内部的另一个 if 语句外部。
- 测试变量 image 是否等于 "car1" 或 "car2"。
- 使用 Set Text 在 if 语句内部将 result_text 设置为 "YOU LOST!" 。
- 使用 Set Color 在 if 语句内部将 result_text 更改为 "red"。
- 同样在 if 语句内部,使用 Go To 将 speedy 返回到 (0, -240)的位置。
To navigate the page using the TAB key, first press ESC to exit the code editor.