Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Dr. Scary on Tue 30/05/2006 18:25:09

Title: Enable/disable animation frames
Post by: Dr. Scary on Tue 30/05/2006 18:25:09
Would it be possible to add a flag to enable and disable single frames of a loop?

Right now I am generating sprites into a temporary view from two source views. As of now the function requires that the source and target views all have the same amount of frames.
The ability to enable and disable single frames would make it easy to allow animation of different lengths.
A possible workaround would be to allow to set the frame speed, I noticed this was aready on the tracker, but the enable/disable option would be preferrable.
Title: Re: Enable/disable animation frames
Post by: Pumaman on Tue 30/05/2006 20:49:52
Would anyone else use a feature like this?
Title: Re: Enable/disable animation frames
Post by: Dave Gilbert on Wed 31/05/2006 01:05:26
This would actually help me out a LOT.  I could definitely use it.
Title: Re: Enable/disable animation frames
Post by: fovmester on Wed 31/05/2006 06:02:15
Me too! That would be awfully useful!  ;D
Title: Re: Enable/disable animation frames
Post by: alkis21 on Wed 31/05/2006 08:04:10
I remember a couple of occasions where I could have used this in my previous game, so another vote for this feature from me.
Title: Re: Enable/disable animation frames
Post by: Dr. Scary on Wed 31/05/2006 13:13:44
I would also like to add that this could be used to do start and end animations as long as you can change the status of frames while they are animating.
Title: Re: Enable/disable animation frames
Post by: Pumaman on Wed 31/05/2006 20:12:46
So what you guys are asking for is basically the ability to mark a frame as "disabled", and then if you run an animation it will just skip over that frame?
Title: Re: Enable/disable animation frames
Post by: Dr. Scary on Wed 31/05/2006 20:19:19
Yes, and also the ability to enable and disable it from the script.
How does it sound to you? Would it be terribly complicated?
Title: Re: Enable/disable animation frames
Post by: on Thu 01/06/2006 11:03:35
Update: increased player animation speed and its smooth now.

I also would need that suggestion incase i cant find a way around my problem which I'll explain now if it gives a reson to add said suggestion ;
I have a keyboard key walk player somewhere. So player walks there and then, since i'm pressing the key, play walks to another somewhere. It wasnt smooth walking. In between walks he shows frame 0 for stand.
Title: Re: Enable/disable animation frames
Post by: strazer on Mon 19/06/2006 11:50:34
Tracker'd: http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=578