确保 say 命令、精灵和背景在 if 语句中,前面有路路路。

  • 使用另一个if来测试result是否等于c_num 。
  • 使用Say和规划器让精灵说出运动员的结果信息。
  • 拖入其中一个运动员精灵并将其命名为result_sprite 。将其坐标更改为( 0 , -3 ) 。
  • 在if语句中拖动Soccer Field 。点击跑进大多c看运动员!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)