Jump to content
  • Advertisement
Sign in to follow this  

Fighting Game Character And Animation Control

This topic is 4443 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

I'm currently creating a Fighting Game for a Final Project in a Game Design & Development class. My game has roughly 25 animations per character and is a 3D world with 2D fighting game sprites. I have a class called "Sprite" that handles the rendering and control of a simple sprite object and then an extended class called "AnimationSprite" that inherits from "Sprite" and adds the ability to animate the sprite. The animatedsprite has a structure called "Animation" that defines a single animation that can be using one texture or multiple textures for animating the sprite, and a time length. I can play, stop, loop a number of animations. What would the best way to control the fighter's actions and animation? Instead doing an overly complex if...then statement manually checking every possiblity of movement and input i'd like to have general rules setup so adding animations would be relatively simple and not require editing tons of code.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!