Fade in / Fade out text?

Started by , Sun 17/08/2003 20:59:54

Previous topic - Next topic

ravenfusion

Hey, i'm creating a movie in AGS and I have been wondering, what script is needed to fade in text then fade it out. I'm gonna need it to load at specific X,Y co-ordinates and I don't want it in a box.

This is for the starting credits of my movie.

And if possible, how would I do the same with an image?

- Thanks, Jeff AKA Ravenfusion.

Ishmael

If you have black bg, you could use an invisible character, which talks the text, or a GUI with one label where you put the text with SetLabelText(...), and then use FadeIn() and FadeOut()...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Scummbuddy

#2
you could use the letters and make your own sentances in like ms paint, and then create different faded levels of the text, and then in ags, create an animation using them, and then play the animations in the area you want and when you want
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Ishmael

I was making ending credits to my game with the GUI method, it worked fine, exept that the text changed after the fadein, instead of between the fades... and then I left it, because I thought I dont need the fades... but using some Wait(1)'s between the fades should fix that...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

ravenfusion

#4
Thanks for the help guys! I'll give it a shot. :)

I'm just gonna draw up all the frames and then put 'em together. It'll take ages but it'll probably be better...

ravenfusion

hmmmmm...next question:

If I have all the frames drawn out, how would I get them in? (The problem is that you can only have a limited ammount of frames...)

Timosity

Depends what method you're using, if you are making an animation for fading out (scummbuddy's method) you just use a view in the editor, which can have up to about 286 frames in a view (15 loops I think, with 19 per loop [20 for 1 loop if you don't use multiple loops])

Then use objects for the text, then animate them.

You may be thinking of animating the background, which you can have 5 frames I think, but don't do that.

I hope you understand what I just said

~Tim

Scummbuddy

yes. in the views, there is a selection that says "Run the next loop after this to make a long animation"
just use that to make any long animation you may need, but you actually may not... just make your animaitons in your views editor
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

ravenfusion

k thanks for the help! :) i'm almost certain that using views will work :P

TerranRich

People, people! What is wrong with using SetObjectTransparency and a simple while(...) statement? Or are we trying to avoid scripting? :)
Status: Trying to come up with some ideas...

ravenfusion


SMF spam blocked by CleanTalk