Quote:
Originally Posted by cbkbud
Imagine a format like this:
PHP Code:
GLEVEL
WIDTH 1
HEIGHT 1
LAYER 1
TILE 0x0: 3x4 6x9 42x78
END LAYER
LAYER 2
etc
END LAYER
SCRIPT AT x,y IMAGE block.png
// script
SCRIPTEND
That seems a lot like BASIC ... but it would allow infinite extension since you are using the x and the y. Would probably be easier to make level editors as well. Also could allow larger levels.
|
Oh man, the files would be insanely huge. The whole point behind the .nw format is that each tile only takes up 2 characters in text format.
Besides, in case you didn't know, the current file layout already has a layer variable in it. Stefan was smart and added that into the .nw format when he first created it.