第 2 步:让我们更改精灵的图像标签!图像标签是我们用来在舞台上创建特定精灵的文本。

  • "person4"替换为您选择的任何精灵的图像标签,例如"person1"
  • 一定要在文本周围留下引号!

我们将引号中的任何内容称为字符串。字符串可以包含单词、字母、句子或符号。

示例: "Strings are always green and surrounded by quotes."

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

stage.set_background("concert") sprite = codesters.Sprite("person4")
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)