• Advertisement

Archived

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

DirectDraw surface question.

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

Sup, recently I have been flicking through a game development book, and noticed that the author had handled animation in a diferent way that I have in the past. I have an image with all the frames for all the animations of a specific object and use some game logic to find the right rectangle to blit (so that there is only one surface per bitmap). The author of the book however had a different aproach; which was to determine all the frames during the initialization phase and then create a surface for each frame of animation. I was just wondering about any advantages/disadvantages of using either technique? Cheers, Toby.

Share this post


Link to post
Share on other sites
Advertisement
Little difference I would suspect. What you do need to do though is make sure you cram stuff into your textures as bigger textures means switching textures less often which gives a good performance improvement

Share this post


Link to post
Share on other sites

  • Advertisement