现在我们需要让刺猬转弯和移动。

  • 点击 ,将 Left Key 和 Right Key 事件拖动到程序中。
  • 删除两个事件中的默认指令。
  • 点击 ,将 Turn Left 拖动到 left_key() 事件内部。将参数更改为 20。
  • 从 中 ,将 Turn Right 拖动到 right_key() 事件内部。将参数更改为 20。

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

  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)