Animated object

Started by julius, Mon 20/06/2011 14:59:21

Previous topic - Next topic

julius

Is it possible to create an animated object (such as moving flies)?
Or do I need to make a character for the animated object?

mode7

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


NickyNyce

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

monkey0506

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)) 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. ;)

Khris

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.

julius

thanks for the quick reply guys.
works like a charme.....

p.s- whats RTFM?
???


SMF spam blocked by CleanTalk