Level Editor

Levels for Sacronauts are written as simple textfiles, all you need to create your own level is a text editor of your choice and some imagination.

How to create a level

  • In Sacronauts, go to the Editor planet and note the directory it shows under the planet.
  • In a separate window open that folder (e.g. in Windows Explorer)
  • Download this file TODO and place it into the folder
  • Switch back to Sacronauts, it will automatically detect the new file and show it on the planet. Click on it to start the example level.
  • Now that the level runs you can leave Sacronauts running, switch back to the folder and open the file in a text editor. Add a few letters like r (which will place rocks, see below), save and and switch back to Sacronauts. Click restart to reload the level and you will see the rocks you just placed.
  • Add more stuff. Experiment. Have fun!

Blocks

BlockChar 1Char 2Description
^The space ship. You need one and only one of these in the level. It can fly behind rocks so don’t worry about putting a roof above it. It’s a game after all, not everything has to make sense, right?
sThe spawner portal that will spit out some desperate astronauts. You need at least one and you can place more than 1 in the level. As it is a bit bigger it is typically a good idea to place it like this, so it sit’s on some rocks:
^
rrr
rA solid rock. Foundation for most levels.
sSand block. Can be destroyed with a explosion closeby. Connected sandblocks will also collapse.
bBoulder. Physics-based block, will fall down if sand under it gets destroyed or if a explosion happens nearby.
fFire. Will burn astronauts to a crisp.
mMonster. Will eat astronauts for breakfast.
jJumper. Astronaut touching this will jump reaaally high.
01Blue Teleporter. Char 1 is entry, Char 2 exit.
23Teleporter. Char 1 is entry, Char 2 exit.
45Teleporter. Char 1 is entry, Char 2 exit.
67Teleporter. Char 1 is entry, Char 2 exit.
89Teleporter. Char 1 is entry, Char 2 exit.

Settings

In the level file, under the letters declaring a block and a divider line like —— you will see some settings. Use those to adjust things like how many astronauts have to reach the ship, what actions are available etc. Level design and these settings go hand in hand, so make sure to adjust both to make an interesting level.

  • World defines how the world looks like. If you do not declare this it will use the standard world. List of available worlds will be released later.
  • MaxActions how many times the player can pause the game
  • Astronauts list of astronauts to be spawned. Every astronaut is a {} and they are separated by commas. If you want more astronauts, just add more {} in here.
    • Note: If you have more than one spawner portal it will evenly spawn the astronauts out of the spawners.
    • Another note: FYI, in later versions of the game you can adjust individual astronauts by setting addition properties inside of {}.
  • RequiredAstronauts how many astronauts have to reach the ship to consider the level won and the ship will start.
  • ShipStart: When the ship starts, in seconds. Set this to a high value first during level design and adjust it according to your test runs later.
  • etc