Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Feature request
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 07-15-2007, 05:46 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
I think that's a horrible idea Vash, would probably be to laggy (well not to laggy but the extra load time would not be worth the reward) and add pointless stuff to load from the .nw files (you would now have more then just 2 characters per tile) and I'm sure almost no one would use this except the more innovative servers.

I've come up with probably the only way it would work practically as follows:
Since a TLevelObject has to be on showimg layer 1 and all TShowImgs have to have some sort of layer number (I'll only talk about 0 - 3 here since 4+ doesn't matter), then the tilelayers need a "displaylayer" variable which would be some number between -1 and 4.

0 through 3 would just display the layer much like a TShowImg with that layer, -1 would be the default of tilelayers and would display under all non-tile objects. 4 would just display it over everything no matter what (except other tilelayers on 4).

These layers could then be given the "z" variable. All tilelayers, TLevelObjects and TShowImgs (on a given displaylayer) would be displayed in this order:
- Anything objects gets displayed over anything that has a lower Z variable then it.
- For any object with the same Z:
* non-tilelayers get priority and display first.
* the tilelayer with the higher index would be displayed on top.

This method should make it exactly as it is now with only new featuers added (to avoid messing with any current things using tilelayers or z attributes).

Thoughts?
__________________
Do it with a DON!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 02:01 AM.


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