Paul Sutton

random

Rocks and Diamonds – Level Creation 3

Placing the same element, multiple times, in the playing area, in random positions.

As mentioned my previous post I am going to briefly discuss random placement of elements on the playing area.

It is important this point to stress that the game editor will randomly place the selected element multiple times, and NOT just place random elements on the playing area.

On the game editor find the following block.

random placement 1

Within this there is a random placement button, depicted by a dice. Select this:

random placement 2

If you now click on one of the game elements for example a green emerald, and press the dice the editor will place several on the playing area.

random placement 3

You don't need to keep everything where the editor puts it, feel free to delete and add others manually elsewhere, but where you need lots of one thing it may help.

This is one of the features you end up wishing you had known about, especially when you have spent weeks, creating levels by manually placing the items multiple times.

Don't for get to add your exit block manually.

Placing lines of blocks.

The third button in, is a line drawing tool. As this sort of relates to the above, I will cover this too. Pressing the line button and then selecting, for example a wall element, you can draw straight lines. This makes it quicker and easier to draw longer walls or even mazes for example.

#games, #levels, #rocksndiamonds, #level,#creation,#codeclub, #random


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)


MastodonPeertubeQoto sign up

Donate using Liberapay