Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 08-21-2008, 07:33 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by zokemon View Post
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.
<snip>
For backwards compatibility, the level.tilelayers array would just be a reference to level.layer[0].tilelayers.

Make sense?
No, Stefan's way is better.

The tilelayer already has alpha, red, green, and blue variables, so adding layer would fit right in.

The layer variable also doesn't work the way you're making it look in your example.
Quote:
Originally Posted by zokemon View Post
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?
Its not like you're going to be able to tell, so don't worry about how other people do it.
__________________
Reply With Quote
  #17  
Old 08-22-2008, 11:05 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
If you say so. I just imagining it would make it run worse and render slower but whatever, quality is no concurn, I guess.
__________________
Do it with a DON!
Reply With Quote
  #18  
Old 08-22-2008, 08:33 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by zokemon View Post
If you say so. I just imagining it would make it run worse and render slower but whatever, quality is no concurn, I guess.
Let Stefan worry about that stuff. Hes the one who coded it in the first place so I'm sure he would know how to do it better than you.
__________________
Reply With Quote
  #19  
Old 07-01-2009, 04:10 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
I just stumbled upon this, and I think it doesn't hurt bumping it. As a reminder for Stefan, and maybe for others who have some more ideas.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:44 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.