过渡后,现在是设置新场景的时候了! 记住,这个故事是你自己的!

  • 你可以花一点时间来更改你的起始场景,以自定义你的故事。 一定要保持基本的结构。
  • 使用规划指南帮助你完成其余的活动。
  • 记住,这个程序将按照从上到下的顺序运行,所以让编程指令保持你想让其发生的顺序。 如果你想保留故事的开始,只需点击 提交 下一步 继续。

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

stage.set_background("park") sprite = codesters.Sprite("person3") sprite.glide_to(-100, 50) # text = codesters.Text("text", x, y, "color") text = codesters.Text("I went to the park!", 0, -200, "blue") stage.wait(1) sprite.move_right(400) transition1 = sprite.ask("Choose a transition from the sequence category.") text.set_text(transition1)
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)