Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: julius on Mon 20/06/2011 14:59:21

Title: Animated object
Post by: julius on Mon 20/06/2011 14:59:21
Is it possible to create an animated object (such as moving flies)?
Or do I need to make a character for the animated object?
Title: Re: Animated object
Post by: mode7 on Mon 20/06/2011 15:10:16
Thats more a question for the beginners board
anyway:

oYOUROBJECT.SetView(YOURVIEW);
oYOUROBJECT.Animate( int delay, optional RepeatStyle,  optional BlockingStyle, optional Direction);

Don't worry about the parameters the auto complete will help you when wrtiting it

Title: Re: Animated object
Post by: NickyNyce on Mon 20/06/2011 15:14:35
I asked about this a short time ago in the beginners section....page 8...how to animate my T.V....should help you
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=43420.msg577541#msg577541
Title: Re: Animated object
Post by: monkey0506 on Mon 20/06/2011 19:32:46
If you open the manual (press F1 while AGS is open, or open the agshelp.chm file in the AGS directory, or view it online at http://www.adventuregamestudio.co.uk/manual/ or view it (slightly out-of-date) in the wiki at http://www.americangirlscouts.org/agswiki/Contents_(manual) (http://www.americangirlscouts.org/agswiki/Contents_(manual))) and then look up the object functions, the very first entry on that page is Object.Animate.

If you use the search feature of the manual and search for "animate object" there are several results that will link you back to Object.Animate, and keywords are highlighted.

If you type "an" into the index of the manual, the first three entries in the list will show the Animate functions for buttons, characters, and then for objects.

Just pointing out, this is a case of RTFM. ;)
Title: Re: Animated object
Post by: Khris on Mon 20/06/2011 19:40:54
When I first read this I was under the impression that julius is asking whether objects are suitable to use for something that's supposed to animate while moving. It's still rtfm though.
Title: Re: Animated object
Post by: julius on Mon 20/06/2011 21:00:12
thanks for the quick reply guys.
works like a charme.....

p.s- whats RTFM?
???
Title: Re: Animated object
Post by: Khris on Mon 20/06/2011 21:06:19
http://lmgtfy.com/?q=rtfm