Jump to content
  • Advertisement
Sign in to follow this  
Pocke

Gif animations?

This topic is 4881 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 was just wondering if there is a fairly easy way to load .gif animations with directX? If not, how do I load animations into a game? (2D game)

Share this post


Link to post
Share on other sites
Advertisement
As far as I know, Direct3D does not offer any functions for loading gif files, and I KNOW DirectDraw doesn't. But that doesn't stop you from writing your own.

As far as 2D sprite animations. Direct3D/Draw also doesn't have any support built right into it for such. You'll have to create your own mechanism, using sets of images stored in Direct3D/Draw interfaces.

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!