Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Gfunkera on Fri 02/04/2004 08:55:31

Title: Animation Object
Post by: Gfunkera on Fri 02/04/2004 08:55:31
Ok I've looked around and cant find it, and I probally did see it but didn't know that it was it but, I can't find a proper way to animate an object??? Like I wanna have a door slide up like in star trek but I can't get it to work it?? Is there an easy script for this?? I may have looked right it and not even known it.... And I have read the manual.... 8)
Title: Re:Animation Object
Post by: Scummbuddy on Fri 02/04/2004 08:56:46
Did you look at

AnimateObject
AnimateObjectEx

in the manual?
Title: Re:Animation Object
Post by: Gfunkera on Fri 02/04/2004 09:12:00
damn.....  :o  Feel free to kick me realy  :-[


Yea, i need some sleep.... :-X
Title: Re:Animation Object
Post by: Gfunkera on Fri 02/04/2004 09:59:11
how can I make it loop infinate... under repeatedly_execute
Title: Re:Animation Object
Post by: Gilbert on Fri 02/04/2004 10:02:10
Just set the repeat parameter to 1.

Quote
The REPEAT parameter sets whether the animation will continuously repeat the cycling through the frames. If REPEAT is zero, the animation will start from the first frame of LOOP, and go through each frame in turn until the last frame, where it will stop. If REPEAT is 1, when the last frame is reached, it will go back to the first frame and start over again with the animation. If REPEAT is 2, it will do the animation once, but then return the graphic to the first frame and stop (whereas repeat=0 will leave the graphic on the last frame).

Have you really read the manual?
Title: Re:Animation Object
Post by: Gfunkera on Fri 02/04/2004 10:03:36
I did read it and now I feel real silly doh