Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: KrisMacDee on Thu 27/01/2005 18:56:18

Title: Doing Swinging Animations
Post by: KrisMacDee on Thu 27/01/2005 18:56:18
In 5 Days a Stranger, there was a part where you swung from one window to another. How would u do something like this?Ã,  ???
Title: Re: Doing Swinging Animations
Post by: .. on Thu 27/01/2005 20:56:13
Draw each frame individually, import them into AGS into a loop, and play the animation at the appropriate time.

I don't think threre's a way to do it other than animation, If you're not too good at animation (like me) cheat use a program like MOHO or flash to help you along.
Title: Re: Doing Swinging Animations
Post by: KrisMacDee on Fri 28/01/2005 18:38:06
Thanks for your reply, Scuthbert. I have tried that but after the animation finished he appeared back on window 1. How do you stay on window no.2.
Thanx
Bigmac
Title: Re: Doing Swinging Animations
Post by: Darcness on Fri 28/01/2005 19:00:03
Try making a dummy object which is initially invisible. Then set the animation view to your swinging animation. Make your character invisible at the start of the swing, then activate the dummy object. Move the invisible character to the next window. When the animation stops, make your character visible again. Getting the timing right might be a problem, and you'll also have to script your character's movement so that blocking doesn't matter.
There might be a better way of doing this, but this is the way I do it.
Hope it helps.
Title: Re: Doing Swinging Animations
Post by: Scorpiorus on Sun 30/01/2005 19:17:57
Well, I think you don't  even need an object. Just change the character position when the animation is over.