扩展:现在随心所欲地定制您的程序!至少改变你的程序的三件事。

  1. 更改背景图像精灵图像
  2. 更改精灵移动的位置。
  3. 添加Turn Right命令工具包
  4. 完成后,单击提交接下来继续您的创建项目。

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(4) stage.wait(2) sprite.move_right(2) def click(): sprite.say("Hello, Codester") sprite.event_click(click)
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)