![]() |
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. |
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. |
Quote:
|
The correct term you're thinking of is z-ordering.
|
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. |
Quote:
|
Quote:
Quote:
Quote:
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 03:10 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.