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
  #1  
Old 01-06-2004, 07:33 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Layering images.

I think that there should be some sort of layering code that would set an image's layer compared to other images. Not like changeimgvis. changeimgvis has 4 options for layer, and they are all pretty much standard (under player(0), default(1), overplayer (i think 2&3 are like this), hovering (like state)(4)). Having changeimgvis is very good and useful, regardless, just because it sets the image relative to the player.

setlayer index,layer; -layer can define whether or not the image is placed above or below other images that have their layers set... and taking from the changeimgvis where the higher number is a higher layer it could work like that.

Once again, I don't get why I was flamed with "use changeimgvis!!" the last time I posted this.
Reply With Quote
  #2  
Old 01-06-2004, 09:17 PM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
Its a good idea for images in layer 0-3, as it very well could be for the screen layer ... but I think it would be more effective to make the layerhight index oriented (minus 199.1, or w/e the show local key is, if it is shown localy)...

The reason people say use changeimgvis, is because there aren't 4 screen layers. I think there are 20 or 30 of them... see I said the screen layer with layer in italicis, because anything 4 and above is the screen layer, and based on that height is how high it draws onscreen. ie and image drawn and 4 and an image drawn at 5... they'd both would be screen coordinates, but 5 would be higher than 4, thus drawn after it (above it).

Index oriented heights within layers would be usefull, however.
__________________
Reply With Quote
  #3  
Old 01-08-2004, 02:24 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally posted by MrGannondorf
Index oriented heights within layers would be usefull, however. [/B]
That's what the suggestion is.
Reply With Quote
  #4  
Old 01-08-2004, 03:32 AM
Thought Thought is offline
PipBoy Extraordinaire!
Thought's Avatar
Join Date: Nov 2001
Location: Long Beach, California.
Posts: 692
Thought is on a distinguished road
The correct term you're thinking of is z-ordering.
__________________
Rick ([email protected])
#gscript on FreeNode (#gscript Guild, #gscript Information)
Graal User Statistics

I am now using my new account, Rick.
Reply With Quote
  #5  
Old 01-08-2004, 04:57 AM
Hevaricubed Hevaricubed is offline
Registered User
Join Date: Aug 2003
Posts: 262
Hevaricubed is on a distinguished road
Send a message via AIM to Hevaricubed Send a message via Yahoo to Hevaricubed
which is kind of partially allready there,

changeimgvis index,5; will show an image
on the screen above something at vislevel 4.

changeimgvis index,6; will show an image above something at vislevel 5, etc.
__________________
Reply With Quote
  #6  
Old 01-08-2004, 06:47 AM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally posted by Hevaricubed
changeimgvis index,5; will show an image
on the screen above something at vislevel 4.

changeimgvis index,6; will show an image above something at vislevel 5, etc.
...and for non-screen layers?
__________________
Kat
Reply With Quote
  #7  
Old 01-09-2004, 02:09 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
Quote:
Originally posted by Thought
The correct term you're thinking of is z-ordering.
Ummm... noooooooo......... you can z order all showimgs if you REALY want to, though it only has a facet of use in the non-screen layers... see the z axis in graal is like a second y axis... when you asign a screen showimg a z height, it actualy changes how it looks height-wise on the screen (as if you lowered its y).
Quote:
Originally posted by Hevaricubed
which is kind of partially allready there,

changeimgvis index,5; will show an image
on the screen above something at vislevel 4.

changeimgvis index,6; will show an image above something at vislevel 5, etc.
Yah... thats what I said...
Quote:
Originally posted by -Ramirez-

...and for non-screen layers?
Its hardly usefull in that case.
__________________
Reply With Quote
  #8  
Old 01-09-2004, 03:02 AM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally posted by MrGannondorf
Its hardly usefull in that case.
Really? So if you want to have images sitting in a level on LEVEL coordinates... and need them to be layered a certain way, that's hardly useful? Weird.
__________________
Kat
Reply With Quote
  #9  
Old 01-09-2004, 03:47 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally posted by -Ramirez-

Really? So if you want to have images sitting in a level on LEVEL coordinates... and need them to be layered a certain way, that's hardly useful? Weird.
I think this is the first time Kat actually understands me xD!!
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 05:57 AM.


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