LVL Format

From ASSS Wiki
Revision as of 20:01, 11 January 2005 by Mine GO BOOM (talk | contribs) (Uploaded images to local machine)
Jump to: navigation, search

asss only wiki or all of ss dev? --smong
it's all interconnected now baby... :D since grel is working on ELVL_Format.. - cypherjf

Anything goes. The main page will be ASSS related, but might as well have everything SS has to offer. If someone wants to update this page with the link given below, all images are uploaded to: http://wiki.minegoboom.com/upload/images/ --Mine GO BOOM 19:01, Jan 11, 2005 (EST)


See http://www4.ncsu.edu/~rniyenga/subspace/old/lvlformat.html

Basically it is a bitmap with tile data appended to it. Each tile is represented in this format: (little endian)

struct
{
	unsigned long x : 12;
	unsigned long y : 12;
	unsigned long tile : 8;
};

The x and y must not exceed 1023. The tileset can be any bit depth, but history puts it at 8bit since the original Subspace uses an 8bit palette.