Sign in to follow this  

How do you best animate a sprite in a fighting game?

This topic is 4781 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How do you best animate a sprite in a fighting game like KOF wiht a lot of combos? You need to combine the state transitions with character visual (frame) and motion. I'm more interested in knowing how motion is combined with other animation data? I guess merely storing a displacement vector with every frame is not sufficient for some cases, for example, there are jumps and areal hits and counters. A character can be hit antime when in air and the it must keep falling until it hits the ground level. Its not a good idea to hardcode such motion traits in the code, or is it ? How do you model all these things? Does this requires some special tools?

Share this post


Link to post
Share on other sites
It is very hard to answer your questions because they are so vague. I believe you may want to learn some very general concepts about data modelling and graphics programming. This is a regular step to take before one is able to create sophisticated graphics programs like the fighting game you describe.

A general hint about your questions: I would clearly seperate the problems of data storage (what data to be stored on the disk and in which format), data modelling (how to organize your data in memory: class/object modelling), drawing (how to draw, what to draw, which language/tools to use) and events (dealing with user input).

If this does not sound familiar, maybe start working on a smaller, easier program first. Then work your way up as you get a better understanding of the matter.

Share this post


Link to post
Share on other sites

This topic is 4781 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this