View Single Post
  #1  
Old 01-11-2005, 01:46 AM
Shaun Shaun is offline
Registered User
Shaun's Avatar
Join Date: Jul 2003
Location: Canada
Posts: 1,070
Shaun is a jewel in the roughShaun is a jewel in the rough
Tileset properties

Currently, there are two sets of tileset properties, an older one and a newer one.

By a set of tileset properties, I mean the orientation of the tiles (ie which tiles act as chairs, which act as blocking, which act as non-blocking, water, lava, etc.). Currently, playerworlds have to conform to a Graal standard. I would request that it is possible to make new tileset properties sets.

An example of the scripting may look like:

addtiledef tileset.png,level.nw,tilesetprop.txt;

Where tilesetprop.txt would be a file containing the information that would designate each tile a property.

tilesetprop.txt may look like this:

0,0,1,2,3,1,2,0,0,1,2,4,5,6,9,2 ...
2,2,1,6,1,2,1,5,8,1,3,5,6,3,1,2 ...

Where each number represents a property and each line represents a horizontal line of the tileset.

A possible scenerio for what the numbers may represent:

blocking: 0
non-blocking: 1
deep water: 2
shallow water: 3
sitting: 4
bed: 5
swamp: 6
deep lava: 7
shallow lava: 8
hurting ground: 9
animated:
10a (10b,10c,10d,10e ... range of letters determines range of frames)
or any other number 10 or above, where a letter represents a frame.

Anything I miss? Input please. Hopefully this can be implemented soon, adding on to Graal's already staggering customizability, it's strongest point.
Reply With Quote