Max Number Frames In Animation ?

  • #1, by snowWednesday, 16. August 2017, 07:01 7 years ago

    What is the max frame to use in a animation ?.   Standing, walking etc

    I have a decent walk animation which is 30 frames, and a very fluid walk animation using 60 frames.

    Kind regards


    23 Posts

  • #2, by afrlmeWednesday, 16. August 2017, 12:13 7 years ago
    I don't think there's a maximum number. Though until recently animations with more frames than x couldn't access all of the frames. I believe Simon fixed that in the last update.

    For optimization purposes I recommend using the least amount of frames you can. In other words (no duplication frames, as they are a waste of system resources). If you have multiple frames in a row that are exactly the same, then delete them so only 1 remains & set a custom delay/pause value on the remaining frame so that it plays that frame longer than the global delay/pause value you set in the properties section for your animation.

    As for walking in general. I don't think you should need more than 32 frames for a very smooth looking walk animation. 14-24 frames is the typical norm for a 2D walk animation (well from the older point & click games; monkey island 3 for example being 14 frames). You can simulate smoothness by tweaking the global delay/pause value for each of your animations - if you get that right, then you can make almost any animation, regardless of the amount of frames it has look pretty smooth. You have to remember that this is a game with many different animations & moving parts. It's not something you will be exporting out as a single video, so optimization is very important otherwise people will have trouble trying to play your game because 2D animation is very demanding of system resources; especially if the game is full HD (1080p) or higher.


    7278 Posts

  • #3, by snowThursday, 17. August 2017, 04:55 7 years ago
    Thank you for the reply, that was most helpful. smile


    23 Posts

  • #4, by MachtnixThursday, 17. August 2017, 11:42 7 years ago
    AFRLme is right, but remember the graphic cache of max. 500 MB. It would be very slow if every walk animation has 30 frames. Because you need the walk loops all the time there isn't space for other animations. My longest (not loop) animation in a game has 400 frames, it makes a pause to load. 

    Thread Captain

    1097 Posts