第 4 步:让我们在另一个方向上做一个事件。

  • 并将Right Key拖动到程序的底部。
  • .move_right()中的整数更改为100
  • 然后让dancerright_key()事件中Flip Right Left 。确保使用····缩进 4 个空格。
  • 仍在事件内部, Wait 1秒钟,然后用另一个Flip Right Left反转移动。

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)