第12步:我们希望 spaceship 能够向任何方向移动。

  • 中,将 Down KeyLeft Key,和 Right Key 拖动到程序内部。
  • 将每个事件内部指令前面的名称更改为 spaceship
  • 点击 运行,然后按方向键来测试程序。

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)