Enjoy BYOND? Contribute today!
Displaying images and icons over opacity
Feb 14 2012, 11:51 am
Is there any way to display an image over top of or through opacity? I'm trying to create a roof that will be visible on buildings with opaque walls.
Feb 14 2012, 12:50 pm
Would this work?(Just what you could use)
sight var (mob)
SEE_INFRA // can see infra-red objects
SEE_SELF // can see self, no matter what
SEE_MOBS // can see all mobs, no matter what
SEE_OBJS // can see all objs, no matter what
SEE_TURFS // can see all turfs (and areas), no matter what
SEE_PIXELS// if an object is located on an unlit area, but some of its pixels are
// in a lit area (via pixel_x,y or smooth movement), can see those pixels
BLIND // can't see anything
Feb 14 2012, 1:05 pm
No. I've tried all of the visibility flags and they don't alter the default behaviour related to opacity.
Feb 14 2012, 1:33 pm
Setting the layer of an overlay to 0 would work, but it would need to be attached to a visible part of the building. I use a screen object to capture mouse clicks made in opacity.
Copyright © 2014 BYOND. All rights reserved.
Terms of Service