Step 6: How to cross a river

> Open Level 6 in the levels tab.

This level has both a busy road and a river to cross. Make sure to avoid jumping into the river!

First, use your coding skills to cross the road, avoid the multiple vehicles, and get the chicken to the coin.

> Right-click on the chicken in level 6 to Edit its Script.

> Use the same blocks from previous steps. Grab "When the level starts" from Events, and then grab "broadcast message".

Think about the path you want the chicken to take.

For each movement you want the chicken to take, you'll need another broadcast block.

> Type "left", or "right", or "up", or "down" into each broadcast block.

> When you are ready to test your code, click Play and select Level 6 from the game menu.

If the chicken gets to the coin, continue to the next step.
Otherwise, have a look back over your script and see if you can spot the mistakes.

results matching ""

    No results matching ""