让我们把精灵移动到地面上。

  • .go_to() 指令中的第二个数字更改为 -150.

.go_to() 中的第二个数字是 y 坐标。它控制精灵上下的位置。

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, -50)
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)