map making

This page lays out the specification for making maps for frag-x

The basics

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
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