第13步:我们需要倒回卷轴的背景。

Sidescrollers 将背景向后移动,使我们的精灵看起来在向前移动!

  • 点击 ,将 Right Key 拖动到程序中。
  • 删除默认指令。然后将 Move Left 拖动到事件内部。
  • .move_left() 指令前面的名称更改为 stage。将整数更改为 20


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)