Wing It

Flap through the gaps between pipes. Wing It shows level gravity, the Jump action, a spawner, switches, and a Play again button.

Wing It — NutHouse
The Wing It level: a bird on the left, grass along the bottom and a Pipe Maker spawner a little past the right edge
The spawner sits outside the level, so pipes slide in from the right.

What it shows

Shows: World gravity, jump, spawners, buttons. Nothing in the game has a movement for the player. The bird falls because the level’s Gravity pulls is Down with Gravity strength 50, and Falls with gravity is ticked on the bird. A rule pushes it up.

How to play

Press Space, or click, to flap. Fly through the gap in each pair of pipes for one point. Hit a pipe, the ground or the top of the screen and it is game over. Click Play again to go again.

The things in it

BirdStays still, Falls with gravity ticked. Switch 0 means “crashed”.
PipesBouncing ball, Speed 20, starts moving to the left. A bouncing ball with no Bounce rule is a simple way to say “slide this way”.
Pipe MakerA Spawner. Makes Pipes Every 1.8 seconds, Wander down 110, so the gap is at a different height each time. Invisible while playing.
GrassSolid ground along the bottom.
Score, Tip, Game Over, Play AgainThe last two start hidden. Play Again is a Button.

The rules, one by one

Wing It — Events
The Events tab of Wing It
Seven rules. Most of them check that the bird has not crashed.

Almost every rule includes Bird: Switch 0 is off. Switch 0 is turned on when the bird crashes, so all of those rules stop working at once. Switches are an Expert thing, but you can read them in any mode. See Values and switches.

WhenUpon pressing SpaceBird: Switch 0 is off
DoJump Bird (40)Play JumpHide Tip
WhenUser clicksBird: Switch 0 is off
DoJump Bird (40)Play JumpHide Tip

Two ways to flap, the same actions. Jump pushes against gravity, then gravity wins again.

WhenPipes: X < 140Pipes: Switch 0 is offBird: Switch 0 is off
DoAdd 1 to the scoreTurn on Pipes: Switch 0Play Coin

The bird is at X 160, so a pipe past 140 has been cleared. The pipe’s own Switch 0 remembers that it has been counted. Without it you would score 60 times a second.

WhenBird collides with PipesBird: Switch 0 is off
DoTurn on Bird: Switch 0Play HitShake the screenPipe Maker: Stop spawningStop PipesShow Game OverShow Play Again
WhenBird lands on the groundBird: Switch 0 is off
DoTurn on Bird: Switch 0Play HitShake the screenPipe Maker: Stop spawningStop PipesShow Game OverShow Play Again
WhenBird leaves the play area (top)Bird: Switch 0 is off
DoTurn on Bird: Switch 0Play HitShake the screenPipe Maker: Stop spawningStop PipesShow Game OverShow Play Again

Three ways to crash, one list of actions. The screen shakes for 0.4 seconds, the spawner stops, every pipe freezes, and the button appears.

WhenPlay Again is clicked
DoSet score to 0Restart this level

Restarting the level turns every switch off again, so the bird is alive once more.

Three changes to try

  1. More pipes. In the Level tab click Pipe Maker in the sidebar. Change Every (seconds) from 1.8 to 1.2.
  2. Floaty bird. Click empty space in the level. On the right, drag Gravity strength down from 50 to 30. The bird falls more slowly.
  3. Lives. Click + Add object → New → Lives. Then in the three crash rules, swap Turn on Bird: Switch 0 for Subtract 1 from the lives, and add a Lives = 0 rule that restarts the game.

Still stuck?

Try the Chocobreak tutorial, open a sample game and read its rules, or look at the questions people ask.