...flicker woes... [Archive] - C Board

PDA

View Full Version : ...flicker woes...


Sebastiani
07-29-2002, 12:23 AM
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?

master5001
07-29-2002, 02:07 AM
Ah a classic case of cross posting...Are you using double buffering? Maybe that is your problem.

JoshG
07-29-2002, 10:15 AM
Here is a page that explains double buffering and page flipping http://java.sun.com/docs/books/tutorial/extra/fullscreen/doublebuf.html, BTW I know it is Java, concepts are the same though.

master5001
07-30-2002, 12:36 AM
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.