# Of Animation Frames, Best Practice?

Discussion in 'Technical Discussion' started by DreamBotStudios, Jun 29, 2016.

  1. DreamBotStudios

    DreamBotStudios Boxer

    Joined:
    Apr 7, 2016
    Messages:
    12
    Likes Received:
    2
    Does any know of the best QUANTITY OF ANIMATION FRAMES for our characters?

    Like Default Animation, Jump, etc?

    Is 24 Frames an issue?
    Or is 10 Frames better for Performance?

    Just curious if there is any BEST PRACTICE or GUIDE on recommended Animation Frames for our Game Characters.

    Thanks
     
  2. brakewind723

    brakewind723 Serious Boxer

    Joined:
    Oct 3, 2015
    Messages:
    583
    Likes Received:
    506
    It's more the size of the image than the actual number of frames. If the image is relatively small then more frames shouldn't be a problem, however, if the image is quite large than having more frames will be very bad for performance. Lesser frames will always be better in general though. You can always edit the speed in the animation editor if your animation comes off too fast or slow.

    Constantly check your atlas menu :)
     
    Christoph likes this.
  3. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    In Buildbox, 1 second is equal to 30 frames. You can't change to 24 or 10 frames per second. It always will be 30 fps.

    As a side note, to calculate the duration of your animation, when you have a 6 frame animation and want it to play in 1 second, just adjust the speed.
    animation.png
    In this case it would be 6 frames = speed 0.2 = 1 second animation
     
    Last edited: Jun 29, 2016
    heathclose and playsgames6666 like this.
  4. DreamBotStudios

    DreamBotStudios Boxer

    Joined:
    Apr 7, 2016
    Messages:
    12
    Likes Received:
    2
    Thanks guys for the information, much appreciated!
     
  5. GeekGamer94

    GeekGamer94 Boxer

    Joined:
    Apr 20, 2016
    Messages:
    86
    Likes Received:
    38
  6. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    ok... so I really want to understand this... the exact math of it, cuz right now, I don't, I just mess with it until it does what I want, but that's sloppy... sooooooooooo

    if I have a 4 frame animation... and I want to play each frame for a second each... what's my equation to figure out the speed and why? I want to be able to teach this...
     
  7. Nihat

    Nihat Serious Boxer

    Joined:
    Jun 29, 2016
    Messages:
    552
    Likes Received:
    154
    i think it will be 0.13
     
  8. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    4/30=0.1333333333 yep. Nihat got it right I think.
     
    Nihat likes this.
  9. Nihat

    Nihat Serious Boxer

    Joined:
    Jun 29, 2016
    Messages:
    552
    Likes Received:
    154
    6fr --> 0.2sp
    4fr --> X
    6X=0.2*4
    X=0.13
     
    Last edited: Sep 4, 2016
  10. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    Previous answers are for 4fps not 1fps. @heathclose was asking for Speed that equals 1fps
    Speed of 1 = 30fps
    Speed of X = 1fps
    1/30 = .033

    Speed of .033 = 1fps
     
    Nihat likes this.
  11. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    thanks @Andy !!
     
  12. Saasha

    Saasha Boxer

    Joined:
    Jul 24, 2017
    Messages:
    6
    Likes Received:
    0
    I have 2 frames for tutorial animation and i want it show 1st frame for 30 sec and then 2nd frame for 30 sec. if i slow my speed then animation don't show my 2nd frame. need help.
    @Andy @healthclose
     
  13. Saasha

    Saasha Boxer

    Joined:
    Jul 24, 2017
    Messages:
    6
    Likes Received:
    0

Share This Page