Rocks and Diamonds – Level Creation 1
We have Rocksndiamonds installed at the library for Code Club.
I am going to write a series of tutorials on level creation. Firstly a very basic how to create a simple level.
When you load the game you are presented with the main menu.

The two items we are concerned about here are :
LevelSet and the screen at the bottom. This screenshot shows level 12 with a preview at the bottom of the menu. This is part of my own level set.

If you click on LevelSet you get the following

Select custom and make sure this is set to 1, which it will be by default. Now LevelSet will read 001

CREATING A LEVEL
If you now click on Level Creator You get a similar screen to that below: ( this is one of my own levels you will get a blank playing area with just the brown sand)

I have already created a very basic level here. We can explore how this is done.
Firstly the default level created is huge usually 128x128, this is too big for what we need. On the right hand side there are lots of options. Clicking on CONF:

Brings up the level properties.

For this level we are going to set
- Size to 8 x 8
- Gems to collect to 4

Press Escape to return to the editor area.
For a level to work we need at least 2 items.
Exit door

Emeralds to collect

If you click on the item to select, then click on the level to place it on the playing area.

Press Enter to test.
Press Escape to go back to the editor, you now need to save your new level. Click SAVE, this can be found in the same panel area as conf


Answer yes. Your level is now saved.
Pressing esc from the editor takes you back to the main menu. The new level will be shown at the bottom.
So adding a new level is pretty easy.
You may want to create your own level set as the above adds to an existing level set.
Links
Location of level files in different Operating systems.
- Linux – ~/.rocksndiamonds/levels
- Windows –
- Mac
Note : The file levelinfo.conf is important without this the levels won't show up when you copy them to a new location.
#games, #levels, #rocksndiamonds, #level,#creation,#codeclub
You can find me on Friendica at zleap@social.isurf.ca

Licenced under Attribution 4.0 International (CC BY 4.0)
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.
