第8步:给程序添加一些特别的东西:点击鼠标时,让精灵说“你好”。

  • 点击工具栏中的
  • Sprite Click 拖动到程序底部。
  • 运行 程序至精灵停止移动。然后点击精灵。

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("winter") sprite = codesters.Sprite("fox") sprite.move_down(150) stage.wait(2) sprite.move_right(50)
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)