Abdur Olajuwon
Member
I was wondering about this for a long time now, but how would I program a sequence of animations. I am trying to program a jump animation which has 5 frames( from the time the character is on the ground about to jump to the time she reaches her highest(the last frame).
I know in games like Donkey Kong Country and others, they have at last like 2-5 frames to make the jump animation smoother while in Super Mario( there is one). I was wondering if i should have everything in one gif and program it like that or should I have everything in separate frames.
Here is the code that I been using. It uses only one frame, but I would like to incorporate more frames to the jump.
I know in games like Donkey Kong Country and others, they have at last like 2-5 frames to make the jump animation smoother while in Super Mario( there is one). I was wondering if i should have everything in one gif and program it like that or should I have everything in separate frames.
Here is the code that I been using. It uses only one frame, but I would like to incorporate more frames to the jump.
Code:
// Jump Animation
if vsp < 0
{
sprite_index = spr_jump;
image_speed = .5
}