View Single Post
  #7 (permalink)  
Old May 24th, 2007, 09:51 PM is offline
Wrox Author
Join Date: May 2007
Location: Hannover, , Germany.
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to

If you have a problem like this try to zip up your project and post it here so we can take a look at it and figure out why nothing is on the screen.

Setting breakpoints at the place you expect the rendering to happen is also useful to make sure the code is executed. Other than that there are often cases in which sprites (or other content) is not rendered at all because the sprites are not flushed on the screen with RenderAllSprites or you could do everything right, but then overpaint the screen or even clear it, which will also result in an empty screen.