Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


#ActualAndy474

Posted 24 June 2013 - 01:58 AM

 

 

Why redraw every frame when you only need to redraw if a cube is removed or placed? Doesn't make sense.

It says there's a camera.  Can the player move the camera around?

 

 

it doesnt matter.. even with a fixed camera.. if you don't _DRAW_ stuff EVERY FRAME, it's NOT THERE.

 

 

xD 100% correct tongue.png

 

The XNA Draw Procedure

1/ CLEAR THE GRAPHICS DEVICE (To a nice colour)
2/ Proceed to draw the programmers stuff.
3/ End Draw Call

#1Andy474

Posted 24 June 2013 - 01:57 AM

 

 

Why redraw every frame when you only need to redraw if a cube is removed or placed? Doesn't make sense.

It says there's a camera.  Can the player move the camera around?

 

 

it doesnt matter.. even with a fixed camera.. if you don't _DRAW_ stuff EVERY FRAME, it's NOT THERE.

 

 

xD 100% correct :P

 

The XNA Draw Procedure

 

1/ CLEAR THE GRAPHICS DEVICE (To a nice colour)
2/ Proceed to draw the programmers stuff.
3/ End Draw Call

PARTNERS