The halfway flag

ChallengeCount in blocks

A checkpoint is a flag in the middle of a level. When the hero falls after touching it, they come back to the flag, not all the way to the start. In this challenge you put a checkpoint in the right spot.

This challenge has its own small level, so your game stays as it is.

What should happen

  1. The level is 48 columns wide.
  2. The checkpoint flag stands halfway along it.
  3. The flag stands on the ground, like the hero does.

What happens now

The flag is in column 10. That is much too near the start. A player who falls near the end has a long walk back.

How to fix it

First work out where halfway is. Halfway is the level's columns shared into 2.

The levelThe sumHalfway
48 columns48 ÷ 2?

Do the sum on paper. Then move the flag:

  1. Press Open the Halfway Flag level, in the box below.
  2. Press Zoom out Zoom out, at the top right of the builder, until you can see the whole level, from START to the Goal.
  3. Press Select Select, in the row under the map.
  4. Click the checkpoint flag. It gets a yellow outline, and two small windows open. You don't need them here.
  5. Press the Right arrow key. Each press moves the flag one block to the right. Stop at the column you worked out.
  6. Close the two windows with their X buttons, and check the rulers. The flag should be in your column, and in row 2, standing on the ground.

How many presses is that? Take the column the flag starts in away from the column you want.

The flag starts inYou wantPresses
Column 10Column ?? − 10

This makes a new game in your Lab and opens the builder right here. It is free.

Test it

Press Play Play game. The level checks where the flag is. When the flag is halfway and on the ground, both tests pass and this section gets its tick.

If a test fails, press Pause Pause game, point at the flag and read its column and row from the rulers. Then move it again.

Make every goal and every test pass to finish this section.