管道之间应当有一样的缝隙。现在让我们将其设置为 150

  • top_pipe 中的高度参数更改为 (350 - pipe_height)
  • 点击 ,将 Set Top 拖动到间隔事件内部。
  • 将操作前面的名称更改为 top_pipe。将参数更改为 250

底部管道的高度 + 顶部管道的高度 + 150 将等于 500:也就是屏幕的高度!

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)