|
Post by OddChild on Jun 24, 2007 9:27:04 GMT -5
It would be nice if it were possible to create "custom attributes" in the map. That way you could have more than just "5" but be able to create others. Just using the premade mats that you have, then select a color via a color applet.
|
|
|
Post by Guilect on Jun 27, 2007 15:58:52 GMT -5
on the to do list
|
|
|
Post by Guilect on Aug 3, 2007 15:14:14 GMT -5
I have added more attributes. You now have 16. That's more than three times the number before. WOW. But seriously, I did think about making the attributes open ended, rather than a fixed number. But I could see that it would be too easy for new programmers to get it wrong. Assigning the same value to two different attributes and the like. So, now everything is nice and fixed and orderly. Plus, I am willing to bet that these are enough attributes to use in the tilemap editor for the vast majority of people and the vast majority of games. I will start work on dynamic map building soon. In there I would imagine that you could have 'infinite' attribute values. Cheers.
|
|
|
Post by u9 on Aug 6, 2007 11:57:10 GMT -5
uh.. infinite sounds like many But will it still fit with the map file-format or is it possible to expand the format? Could you post a small/tiny description of the map format so i can fiddle a bit myself? (without studying and deciphering it for hours)
|
|
|
Post by Guilect on Aug 6, 2007 17:42:53 GMT -5
That is why infinite is in quotes. It will fit with existing map file format. Map file format could be expanded but this would break backwards compatibility.
Here is the map file format:
number of tile Rows in the map as integer number of tile columns in the map as integer length of Tilesetname as integer Tilesetname as string number of tiles in the x-axis of the TileSet as integer number of tiles in the y-axis of the TileSet as integer transparent color as long tile width as integer
next is the tilemap data represented as the tile index number in the tileset. as integer
next is the tilemap attribute data as integer
|
|