教程

欢迎来到飞行员游戏.
在接下来的幻灯片中,
我们将向你解释这款编程游戏的 玩法.

这款游戏是由 Paolo longo制作, 荣耀属于他

游戏规则

在游戏中, 会看到一些彩色方块, 一部分是 实体方块, 其他是 透明方块.
这个游戏的规则就是: 要求将所有实体方块运到对应颜色的透明方块的位置. 下图是一个例子:

游戏规则

我们需要通过组装 代码积木来完成游戏挑战 (就像 Scratch 编程那样).
通过代码积木, 我们可以控制 飞机的运动.

例子

这是游戏界面(注意左侧按钮的操作和代码积木的变化):

这是控制飞机的 代码积木

  • 前进
  • 后退
  • 右转
  • 左转
  • 抓取(方块)
  • 卸下(方块)
  • Over
  • Taken

移动指令

可以让飞机往前移动一格或者往后移动一格

转向指令

可以让飞机往左转或者往右转

抓取指令

飞机最多只能装载一个方块. 当飞机在一堆方块上方时, 执行“抓取”指令, 会抓取最上方的那个方块. 如果抓取两次, 第一次抓取的方块会被挤掉. 你可以通过查看“Taken”的指示灯了解飞机当前抓取的是哪一个颜色的方块 (比如, 下图最后的“Taken”指示灯中显示的是蓝色, 就表示飞机当前装载的是蓝色方块)

Release

Release the taken block under the Aviator. If the Aviator is over a column of blocks the taken block is released on the top.

Taken

This is a control method for colored blocks.
You can choose any color and this method will check if the taken block is of that color.
If white is selected this method will check if there's a taken block of any color.

Over

This is a control method for colored blocks.
You can choose any color and this method will check if the Aviator is over a block of that color. If white is selected this method will check if the Aviator is over a block of any color.
If the Aviator is over a column of blocks the top block is checked.

The worlds

There are 4 worlds.
Each world is made up of playable levels.

The worlds

Every world has its difficulty.
The last world contains an almost impossible level to solve.

The levels

Each level is composed of sub-levels.
To solve a level the same code must complete each sub-level.
You can see each sub-level using the buttons below.

Load the code

Every time you write new code and want to try it, remember to load it before starting the Game.

Try the code

Once you have loaded your code you can try it, use the button below to Play / Pause the Game. You can also use the time travel debugger to load one block of code at a time (the next one or the previous one).

Debug

Select a block and use it as a breakpoint.
The Game will start (forward or backward) until that block is reached.

Menu

Don't forget to open the menu.

And now...

... You're ready to code!