第8步:使用变量和点符号命名精灵,并为其分配动作。

使用点符号加入一个精灵的名字与想要的动作。

  • 点击 ,将 Move Left拖动到程序底部。
  • .move_left() 指令前的名称更改为 glorp
  • .move_left() 指令中的整数更改为 150

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)