Making Objects/Overlays/etc. Fade-In/Out

Started by C.T.C.B, Sun 12/05/2013 00:41:30

Previous topic - Next topic

C.T.C.B

Here's the code I currently have:
[embed=425,349]
function room_AfterFadeIn()
{
  Overlay *T1;
  Overlay *G1;
  T1 = Overlay.CreateTextual (220, 200, 300, Game.NormalFont, 10, "This is a Test Line");
  Wait (200);
}
[/embed]

What I want to do:
I want the Overlay to Fade In, wait a bit and then Fade out by itself, without making the room itself fade-in or out.
I want a way also work with Graphical Overlays, Characters, Objects, etc.

Khris

You can't change an Overlay's transparency.
You can easily do this with a GUI though.

There's also the tween module, which supports fading of every thing that supports transparency.
http://www.adventuregamestudio.co.uk/forums/index.php?topic=38015.0

SMF spam blocked by CleanTalk