现在我们可以移动 frosty

  • 点击 ,将 Go To 拖动到程序底部。
  • .go_to() 前面的名称更改为 frosty

现在我们将指令分配给名为 frosty 的精灵。

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

stage.set_background("winter") sprite = codesters.Sprite("person12") sprite.go_to(-125, -150) frosty = codesters.Sprite("snowman")
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)