2024-08-20 08:45:39 +00:00
|
|
|
NAME Level edit demo
|
|
|
|
DESC This is a copy of the 'Trying to be horizontal' level.
|
|
|
|
|
|
|
|
# (x,y) coordinates of the top left corner of the map, and (x,y) coordinates of the bottom right corner of the map
|
|
|
|
BOUNDS -7.5 7.5 7.5 -7.5
|
|
|
|
|
2024-08-20 09:05:18 +00:00
|
|
|
# the map, as composed from blocks
|
|
|
|
# see levels.cpp for predefined color pixels and blocks
|
|
|
|
# https://github.com/zenorogue/hyperrogue/blob/master/rogueviz/nilrider/levels.cpp
|
|
|
|
|
2024-08-20 08:45:39 +00:00
|
|
|
MAP ggggggggggggggg
|
|
|
|
MAP ggggggfffgggggg
|
|
|
|
MAP ggggggfffgggggg
|
|
|
|
MAP gggg|ggggg|gggg
|
|
|
|
MAP gg*-*-----*-*gg
|
|
|
|
MAP gggg|ggggf|gggg
|
|
|
|
MAP ggGg|g+ggg|grgG
|
|
|
|
MAP gGgg|g|xgo|gggg
|
2024-08-20 09:05:18 +00:00
|
|
|
MAP ggGg|g|gFg|grgg
|
2024-08-20 08:45:39 +00:00
|
|
|
MAP gggg|g|ggg|gggg
|
|
|
|
MAP gg*-*-+---*-*gg
|
|
|
|
MAP gggg|ggggg|gggg
|
|
|
|
MAP gggggggGGgggggg
|
|
|
|
MAP ggggggggggggggg
|
|
|
|
MAP ggggggggggggggg
|
|
|
|
|
2024-08-20 09:05:18 +00:00
|
|
|
# you can also define your own colors and blocks -- the 'F' block in the map above is defined like this:
|
|
|
|
|
|
|
|
PIXEL y FFFFFF00
|
|
|
|
PIXEL g FF404040
|
|
|
|
PIXEL b FF000000
|
|
|
|
|
|
|
|
BLOCK F
|
|
|
|
bbbbbbbbbbbbbbbb
|
|
|
|
bbbggggggggggbbb
|
|
|
|
bbgyyyyyyyyyygbb
|
|
|
|
bgyyyyyyyyyyyygb
|
|
|
|
bgyyybyyyybyyygb
|
|
|
|
bgyyybyyyybyyygb
|
|
|
|
bgyyyyyyyyyyyygb
|
|
|
|
bgyyyyyyyyyyyygb
|
|
|
|
bgyyyyyyyyyyyygb
|
|
|
|
bgyyyyyyyyyyyygb
|
|
|
|
bgybyyyyyyyybygb
|
|
|
|
bgyybyyyyyybyygb
|
|
|
|
bgyyybbbbbbyyygb
|
|
|
|
bbgyyyyyyyyyygbb
|
|
|
|
bbbggggggggggbbb
|
|
|
|
bbbbbbbbbbbbbbbb
|
|
|
|
|
|
|
|
|
2024-08-20 08:45:39 +00:00
|
|
|
# (x,y) coordinates, in terms of the map -- top left corner is (0,0)
|
|
|
|
START 6 6.0
|
|
|
|
|
|
|
|
# this function defines the surface (the value of z coordinate, given x and y coordinates)
|
|
|
|
# note: the parser is quite slow, so if you enter a specific function here, the game will take some time to load
|
|
|
|
# you can also use (fast) predefined functions: zero, heisenberg, longtrack and well
|
|
|
|
|
2024-08-20 09:06:56 +00:00
|
|
|
# FUNCTION exp(-x*x-y*y)
|
|
|
|
FUNCTION zero
|
2024-08-20 08:45:39 +00:00
|
|
|
|
|
|
|
# if you need more layers: enter 'LAYER <name>' then describe the layer, using the same format, except DESC and START are irrelevant.
|
|
|
|
# MAP is necessary. FUNCTION and BOUNDS will be copied from the main layer if not provided.
|
2024-08-20 09:05:43 +00:00
|
|
|
|
|
|
|
LAYER below
|
|
|
|
MAP F
|
|
|
|
FUNCTION -1
|