第7步:让我们添加一个右移键事件,让外星人向右移动!

  • , 中,将 Right Key 拖动到程序中。
  • .move_right() 指令中的整数更改为 25
  • 点击 运行,然后按向右键测试程序。

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)