Ok when you're flipping with direct x, do you first blits to the secondary surface then you call flip with a point to the primary surface........
like
blits(to secondary surface)
pointertoprimary->flip(arguments)?????
Ok when you're flipping with direct x, do you first blits to the secondary surface then you call flip with a point to the primary surface........
like
blits(to secondary surface)
pointertoprimary->flip(arguments)?????
There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!
"...The only real game I thank in the world is baseball..." --Babe Ruth
"Life is beautiful"-Don Corleone right before he died.
"The expert on anything was once a beginner" -Baseball poster I own.
Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.
I believe that is the way the professionals do it.
El, you're right. Like this:
If you want a huge speed boost use DDFLIP_NOVSYNC.Code://declares LPDIRECTDRAWSURFACE7 sfPrime=NULL; //primary surface LPDIRECTDRAWSURFACE7 sfBack=NULL; //backbuffer LPDIRECTDRAWSURFACE7 sfSprite=NULL; //your sprite to blit RECT rcSprite; //dd flip code sfBack->BltFast(0,0,sfSprite,rcSprite,DDBLTFAST_WAIT); sfPrime->Flip(NULL,DDFLIP_WAIT);
Yeah that's what I mean, thanks people.
There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!
"...The only real game I thank in the world is baseball..." --Babe Ruth
"Life is beautiful"-Don Corleone right before he died.
"The expert on anything was once a beginner" -Baseball poster I own.
Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.