第 6 步:是时候让球动起来了!

  • 添加Set x Speed 。使用点符号将其分配给ball !这会将球向右移动。
  • 添加Set y Speed 。将其分配给ball并将参数更改为- 6 。负数将球向下移动!
  • 拖出Disable Floor 。如果玩家用桨错过了球,这将使球从舞台上掉下来!

负 y 速度将球向下移动,负 x 速度将球向左移动。

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)