Staggeredmap

Parent: parentmaps

Uses an image specified in 'filename' to draw objects at position x,y on the image. Matches the color on the map to a color in objectlist and then draws it. Will only draw objects with 'width' of the camera and will redraw the objects within 'width' every time a player moves 'stagger' distance. Those outside the width are deleted every stagger.
Refer to parent maps for more information.

filename string
The filename of the 2D image used to draw a staggeredmap

width integer
Width of the square around the camera in which objects are drawn.

stagger integer
Distance a player travels before will draw the objects within the width and delete those that are now outside.

objectsorting objectsorting
Sorting of children of this map.