第 3 步:我们总是希望我们的足球在屏幕的左侧,但它可以出现在靠近地面或天空的位置!

  • 点击逻辑,然后.
  • Random Integer工具拖到代码底部。
  • 将 = 符号左侧的名称从my_varbally
  • 将括号中的数字从1, 10更改为-100, 100.

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