![]() |
Image layer stuff
Can anyone think of some manipulative and creative way to make a showimg draw under the player, but over objects that draw over the player(trees, drawoverplayer()...)?
I've been messing with the whole z+5/y+5 thing and couldn't figure anything out, but I figure I'd ask here before I finally give up. |
Untested guess:
PHP Code:
|
Nope. An example:
I am in a level, I have a tree that draws over the player. I have a weapon... a remote control plane or something(a showimg). I want the plane to draw OVER the tree(fly over it), but UNDER the player. This would be so useful for me, so I offer so many cookies to whomever helps me resolve this. |
If that doesn't work, no idea. I'd go as far and say it's impossible.
|
Couldn't you do something like
PHP Code:
|
I don't think its possible?
What if your standing behind the tree that draws over you, and your showimg goes over the tree. How can it show over the tree and under you at the same time? |
Quote:
|
How is that what you want? XD
You cant have an image draw over and under an image at the same time... Is this going to be used for something? Or just something you want to do? |
Quote:
|
Quote:
|
The only way you could do it is if it was on layer x above the objects, and once in the area of the player, set it to layer y under him.
But it would still draw under the tree. The only way I can see this happening is doing the method I just stated, but checking if the player is in the area of an object with a layer above his own. PHP Code:
But...you get my point. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
drawunderplayer(); sets it's rendering layer to under that of the player, so I would think that this would be impossible.
|
Oh well.
|
| All times are GMT +2. The time now is 10:57 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.