Step 5: Randomly selecting different sections

To randomly choose a section from our list, we need to replace the block that creates a road section from inside the "create new instance" block.

> Remove "class of first instance by tag road section" from the "create new instance" block. > Open Operators and drag the block "in list 'list list' get #" into the gap in the "create new instance" block.

> Click on "list list" and change it to "list level sections". > Click on # and change it to "random".

Now play the game and see what happens.

results matching ""

    No results matching ""