View Single Post
  #2  
Old 04-12-2008, 06:45 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by cbkbud View Post
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.
__________________
Do it with a DON!
Reply With Quote