第16步:设置游戏结束时运行的文字。

现在我们将创建一个空的文本框。之后我们将填写游戏结束的信息!

  • 点击 ,将 Text 拖动到程序底部。
  • 将名称更改为 result_text
  • 删除默认的文本字符串,这样你就有了一个空字符串,就像这样: (" ")


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

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)