View Single Post
  #15  
Old 08-21-2008, 06:48 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 Stefan View Post
Hmmm can try to add some of the things, e.g. tilelayers[x].layer should be relatively simple
My god, seriously? You know how long I've been trying to get that?

Just an idea though, I think it would be better if you had like layer[i].tilelayers[x] instead. By default, layer[0].tilelayercount would be 1 and layer[i].tilelayercount for all other i except 1 would be equal to 0.

I mean, it would be pretty wierd to have tilelayers[0] at layer 0, tilelayers[1] at layer 3 and tilelayers[2] at layer 1, you know?

For backwards compatibility, the level.tilelayers array would just be a reference to level.layer[0].tilelayers.

Make sense?
__________________
Do it with a DON!
Reply With Quote