Difference between revisions of "LVL Format"

From ASSS Wiki
Jump to: navigation, search
m (Stamps: fixed)
m (Moving convo to discussions page)
Line 1: Line 1:
asss only wiki or all of ss dev? --smong<br>
 
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/ --[[User:Mine GO BOOM|Mine GO BOOM]] 19:01, Jan 11, 2005 (EST)
 
 
Think you can enable image uploads MGB? [[User:Pests|Pests]]
 
 
couldn't get image tag to work (want to align to right maybe) [[User:Smong|Smong]]
 
 
Ok, I enabled image uploading. Use the [[Special:Upload|Upload]] page to upload the images yourself, so can use the actual image tags. --[[User:Mine GO BOOM|Mine GO BOOM]]
 
----
 
 
 
See http://www4.ncsu.edu/~rniyenga/subspace/old/lvlformat.html
 
See http://www4.ncsu.edu/~rniyenga/subspace/old/lvlformat.html
  

Revision as of 21:12, 11 January 2005

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.

Tileset

This is a bitmap image 304x160 pixels, making each tile is 16x16 pixels.

http://wiki.minegoboom.com/upload/images/tileset.jpg

Stamps

These are special animated tiles. The most popular map editor SSME calls them stamps.

There are five stamps available:

  • A small asteroid.
  • A large asteroid (2x2 tiles).
  • Another small asteroid (was originally a large asteroid).
  • A space station (6x6 tiles).
  • A worm hole (5x5 tiles).