Background Animation w/ Scripting

Started by ZZjZmoz, Sun 17/08/2003 21:23:50

Previous topic - Next topic

ZZjZmoz

How can I animate a background using scripting, so that I can control the animation instead of using "Animate Background" in the room settings editor? I've tried looking in the manual, but I didn't find anything. Maybe I'm just searching in the wrong places. Can anyone help me?

Released Late August 2007

ravenfusion

http://www.mattgoble.com/interaction/ags/help/04.htm

That should help you, it's a tutorial that explains using animated backgrounds to make night and day but it should work for what you want to do if you tweak it. :)

ZZjZmoz


Released Late August 2007

ravenfusion


Ishmael

Looking in the manual in the room/screen functions would also given some clues, I think...

The GetBackgroundFrame() and SetBackgroundFrame()...
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.

TerranRich

Look at the Tech Forum thread for the newest release of AGS (v2.56a RC 1). There is now a new function that you can use to start/stop the back animation.
Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk