Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: tommyc on Mon 22/11/2004 17:26:07

Title: importing gif animations
Post by: tommyc on Mon 22/11/2004 17:26:07
i want to run my gif aniamtion in game but whne i import it it imports all the frames how to i make it animate agian

there is loads of frames due to transition and im lazy if it takes ages know of any easyer ways
and do FLC aniamtion work the same
Title: Re: importing gif animations
Post by: Radiant on Mon 22/11/2004 17:46:18
In the view manager, create a view. Name it something appropriate
From the sprite manager, select all the frames you want.
Right-click on any of them, then select 'assign to view'.
Select the view you just created. Loop 0 for the first animation.
Then in any room, create an object.
In the script editor, under 'enter room (before plugin)', add

SetObjectView (0, THE_VIEW_YOU_JUST_CREATED);
AnimateObject (0, 0, 5, 1);

Title: Re: importing gif animations
Post by: tommyc on Mon 22/11/2004 17:51:33
thank you