Page 1 of 1

Allow second transparency colour in dungeon items

Posted: Thu Sep 10, 2009 8:55 pm
by Gambit37
The Magic Window spell uses a second transparency colour (255,0,0) which tells the engine to not draw any pixels of the wall behind it.

If this property was copied over to other wallitems, we could create cool effects like windows, which are currently impossible to do just with powerpink.

Re: Allow second transparency colour in dungeon items

Posted: Fri Sep 11, 2009 9:57 am
by Trego
That would be easier.
I was thinking of using a wall item with an 'alpha channel' (no image, not white) where the window/glass is and use a mechanic to cast magic window on the wall. Thus having the wallitem over the magic window the wall item isn't effected and you can see through the window, my wall item may need a large wall image attached to though or it could look as if it is floating.

Re: Allow second transparency colour in dungeon items

Posted: Sun Sep 20, 2009 8:49 am
by Duckman
Good idea I think.

I support

Re: Allow second transparency colour in dungeon items

Posted: Sun Sep 20, 2009 9:21 am
by beowuuf
Why is it impossile? Oh, I see, as a simple wallitem. You can create a wndow by actually having a faked wall. Even easier now there is a half-height blocker available. You can copy and paste the window throughout your dungeon!

Re: Allow second transparency colour in dungeon items

Posted: Sun Sep 20, 2009 2:30 pm
by Gambit37
Using a pillar doesn't work very well though, if you want your window to be part of a standard wallset. If an object gets thrown at it, it sits "ontop" of the image, so it looks like it's in the wall...

Faked walls don't work either, because items behind it take on the light level of that room. This can make the window look completely black if there's no light on that side.

Trust me, I tried lots of ways and none of them really work :(

Re: Allow second transparency colour in dungeon items

Posted: Sun Sep 20, 2009 6:35 pm
by beowuuf
I just remember doing a window way back, but I guess the light level wasn't an issue I thought about :(