Hey guys. My Windows graphics have been fickering badly since I started animating them across the screen. I am currently using BitBlt() and InvalidateRect() which are just too damn slow! Any suggestions?
Printable View
Hey guys. My Windows graphics have been fickering badly since I started animating them across the screen. I am currently using BitBlt() and InvalidateRect() which are just too damn slow! Any suggestions?
Ah a classic case of cross posting...Are you using double buffering? Maybe that is your problem.
Here is a page that explains double buffering and page flipping http://java.sun.com/docs/books/tutor...doublebuf.html, BTW I know it is Java, concepts are the same though.
In theory they are the same in JAVA and in the Win API but really they are completely different to program. Believe me they are different! Long story short I already gave him an example of how to do this.