第 2 步:我们总是希望我们的足球出现在屏幕的左侧,所以让我们创建一个变量来存储足球的 x 坐标值!变量是存储值的名称。

  • 单击逻辑选项卡,然后单击并拖出Integer Variable
  • 将 = 符号左侧的名称从my_varballx
  • 将等号后面的整数从25更改为-80

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

stage.set_axis(100) stage.create_grid_overlay(10, "grey") stage.set_background("soccerfield")
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)