Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: kantor_98 on Tue 09/05/2006 12:00:21

Title: Animate object
Post by: kantor_98 on Tue 09/05/2006 12:00:21
I want to animate a jar: falling down and break. Is a function for that or something else ?
Title: Re: Animate object
Post by: Ashen on Tue 09/05/2006 12:04:26
Unless I'm missing something in the question, the function's right there in the manual - Object.Animate (http://www.adventuregamestudio.co.uk/manual/Object.Animate.htm). You may also want Object.Move (http://www.adventuregamestudio.co.uk/manual/Object.Move.htm) for the falling bit - unless you make the 'fall' part of the animation.
Title: Re: Animate object
Post by: Nathan23 on Wed 10/05/2006 20:12:07
Object.Animate is fine for what you want, including the fall of the jar, when the jar is
in the floor "broken" you may want to change the view of the object or use another object. ;)