Jump to content
  • Advertisement

Archived

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

pogoholk

A question of animation in a game.....

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

hello everyone ! I would like to know what is the most common way to play small animated graphics in a game ? Is it the animated gif or still a avi file ? thanks a lot... pogo Best Regards pogoholk.....

Share this post


Link to post
Share on other sites
Advertisement
As I have known,in the most games,they will not use the gif or avi file to implement the animation,instead,they usually use the "flipping" technology in DirectDraw,the overview of the technology is the following: you create a primary surface with one or more back surfaces and offscreen surface(they are all the terms used in DirectDraw),and then you can blit a series of pictures(their format can be .bmp ot the other) to the back surfaces or offscreen surfaces,and then you can flip a surface into the primary surface in one time,and then it will generate
the animation effect on the screen.

Here is only a abstract for it,for the details,you can see the DirectX document or the correspond articles on this web site.

Good luck! :-)

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!