Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: sloppy on Thu 17/11/2005 18:42:54

Title: Walk behind background animation
Post by: sloppy on Thu 17/11/2005 18:42:54
I have a question about background animations.  In particular, walking behind it.  I have a small flag where the background animation has it constantly fluttering in the wind.  It's short enough that my character can walk behind it.  I have done the walk behind area on the flag of the original background, but of course not the animation frames.  So now the walk behind doesn't match up with the frames....it looks bad.

Is there a way to do this right?
Title: Re: Walk behind background animation
Post by: DoorKnobHandle on Thu 17/11/2005 18:49:31
Not instantly, I'd highly suggest you to use an object for the whole flag instead and then set the baseline properly.
Title: Re: Walk behind background animation
Post by: sloppy on Thu 17/11/2005 18:53:03
But can you animate an object so that you can do other things while it constantly animates? 
Title: Re: Walk behind background animation
Post by: DoorKnobHandle on Thu 17/11/2005 18:57:04
Sure. Make sure to animate the object "unblocking" ( pass "0" in AGS 2.62 and "eNoBlock" in AGS 2.7x as blocking parameter of the object animation function ).

Refer to the manual to read up on how to use and animate objects if necessary!
Title: Re: Walk behind background animation
Post by: sloppy on Thu 17/11/2005 19:25:09
That was a dumb question... the manual explains how to do that.Ã,  That'll teach me to read the manual before I ask a question.Ã,  ::)

Thanks for your response though.