- Documentation
- New stuff in ps>xr
- level layer
level layer
What it does
The level layer command lets you build one playable level from multiple map blocks.
This is useful when you want to author a base map first, then add extra visual or gameplay detail in separate passes.
How to use it
- Write a normal map block in the LEVELS section.
- Add a line containing layer.
- Add another map block with the same width and height.
- Repeat layer + map block again if you need more overlays.
=======
LEVELS
=======
#######
#..P..#
#..A..#
#######
layer
.......
..b....
.......
.......
Why it is useful
- Keep complex levels easier to edit by splitting content into passes.
- Add detail without rewriting the original map block.
- Make collaboration easier when different people edit different layers.
Rules and limits
- layer must come directly after a map block.
- Each overlay map must match the base map dimensions.
- If two objects end up fighting for the same collision layer in a cell, compilation fails with an overlap error.
- Background tiles in overlay maps can be used as transparent filler when you do not want to replace existing content.