Jump to content
  • Advertisement
Sign in to follow this  

AlphaBlend and backgrounds

This topic is 4420 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, I've been trying around to use AlphaBlend with bitmaps and found out that when I repeatedly call it on the same surface the bitmap accumulates due to the fact that the blit is done onto the previous result instead of clearing it out. Well, how is it cleared out anyway if the framework does not do it ? Is it a matter of remembering the original background ? If so, what if the background changes ? And what if the bitmap changes the position on the surface ? Well, I am really not sure how to make use if I look at these questions/problems but maybe someone knows. Thanks in advance.

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.

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!