Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


playing more than 1 animation with direct x .x files in C++

This topic is 5644 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 will admit all i know about playing animations with x files is from the limited x file loader demo which has an animation of a character walking. From going over the demo code I figured out how to animate an object using the animation information in the file with the polygon information but what if you wanted to have more than 1 animation for your character? How would you set that up and how would you switch between them. Is there a way to seperate the animation information from the mesh info in a seperate file? Any help would be appreciated. If you know of a good x file animation tutorial let me know.

Share this post

Link to post
Share on other sites
At the moment i''m using the gamecore libraries that comes with jim adam''s programming rpg games book. Its really good for x files. I''ve currently got an x file containing a walk, stand and jump animation within it. The gamecore has objects called cAnimation in which you can load an animation from an x file by its name (a string). You can then use the setanimation on the cMesh object.

Damn easy!

When i''ve finally worked out all the goings on in my so called game i will then work out how the gamecore works! its nothing too complex, i''m just glad i dont have to deal with it right now!


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!