第2步:为 dancer 添加动作!

  • 点击 ,将 Left Key 拖动到程序底部。
  • 在 left_key 事件中将 .move_left() 中的整数更改为 100。
  • 将命令前面的名称更改为 dancer。
  • 运行 程序,然后按向左键测试你的事件!

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)