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.
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()...
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
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...
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...
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...)
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
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
k thanks for the help! :) i'm almost certain that using views will work :P
People, people! What is wrong with using SetObjectTransparency and a simple while(...) statement? Or are we trying to avoid scripting? :)
Must....avoid....script. :D