This page lays out the specification for making maps for frag-x
A map in frag-x is a png file, this is to promote map making by making building maps quite simple. If you have an image editor you can make maps for frag-x
The standard map size is 160x90, but in the future we can suppor maps of any size
Personally, to make maps I use gimp with the symmetry mode set to "center"
The way we specify types of blocks in the game is by color, there is a reference table later on, but a quick example would be that solid walls are black and empty space is white.
Each game mode in frag-x may have certain objects that are unique to that game mode, for example, capture the flag has a flag, wherease skill duel does not have this object.
block type | color |
---|---|
space | 255, 255, 255 |
wall | 0, 0, 0 |
player spawn | 100, 100, 100 |
red team barrier | 255, 0, 0 |
red team flag | 255, 100, 100 |
red team spawn | 255, 255, 0 |
blue team barrier | 0, 0, 255 |
blue team spawn | 0, 255, 255 |
blue team flag | 100, 100, 255 |