Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Blitting a resource file

Status
Not open for further replies.

5ilver5aracen

Programmer
Oct 24, 2004
32
GB
Hi, Im creating a simple 2D game in VB6 and Im not sure what the best, quickest way is of drawing the background for the screen.

At the moment my background is stored in a bmp. A DX7 surface is created using this bmp. Then the sprites are added and lastly the surface is flipped to the screen.

Would it be faster if I created another surface with the background constantly on it. This surface could then be blitted to my buffer surface, sprites drawn and then flipped. Does that make any sense?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top