第3步:乌龟需要安全到达!我们可以使用循环在控制台顶部创建一列荷叶。

  • 创建一个 Integer Variable 命名为 x。赋予它一个值 -200
  • 点击 ,将一个 Loop with Range 添加到程序中。
  • 在循环内部,添加一个 Sprite at Position ,并将其命名为 end_ground
  • 将图像更改为 "lilypad"。将 x 坐标替换为 x。将 y 坐标更改为 230

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)