Help trying to make glass with a background is this possible just to make it transparent
but with a glassy look. ???
Thanks :)
While I am asking how can I make a mirror for characters?
Not too sure if this is the correct place to ask this question.
I'm not 100% sure about what you're asking about glass.
And, you can make a mirror for characters, but I don't think it would be easy. You'd need to draw the mirror, and what it's reflecting in the background image. Then at run-time, create a drawing surface, and draw the player's current graphic on to it, wherever his reflection may be.
Quote from: suicidal pencil on Tue 01/12/2009 12:02:42
I'm not 100% sure about what you're asking about glass..
I am asking If i had 2 glass windows could I make a gray transparent look of the glass. Its
just to see through the glass a bit like layers one layer glass and one of the background with the character. ???
I hope i make sense? I know I am bad at explaining things ::)
If you make the glass an object, you can set the object.Transparency. Or, if you game is in 32-bit you can set the transparency in your graphics program (if it's capable of it).
Mirror fx:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=14370.0
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=39178.0
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=9750.0
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=7022.0
Quote from: Mr Matti on Tue 01/12/2009 12:55:52
If you make the glass an object, you can set the object.Transparency. Or, if you game is in 32-bit you can set the transparency in your graphics program (if it's capable of it).
OK Thanks makes sense now and thanks Jim Reed for the mirror fx help.
(I will try this tomorrow see how it goes ;D)
Quote from: Mr Matti on Tue 01/12/2009 12:55:52
If you make the glass an object, you can set the object.Transparency. Or, if you game is in 32-bit you can set the transparency in your graphics program (if it's capable of it).
Sorry I am stuck How can i set transparency to an object?? ??? I just keep getting errors on ags. ::)
If you didn't already, create the room's "Enters screen before fadein" event (see part3 of the helpfile's tutorial on how to add events).
In there, i.e. between { and }, put
oWindow1.Transparency = 50;
(Assuming that the object has the name "oWindow1".)
Alright thanks that worked. ;D