Version 1, last updated by Jason Spafford at August 17, 2010 18:38 UTC

Valkyrie is based off the basic XNA model where the game has two main methods, Update, and Draw. Through these methods the logic of the game is processed and drawn and the two are called asynchronously. Therefore it is important to realize that you should never Asyncronously update logic that effects the renduring of the screen. If you were to update the cameras location in another thread besides the update thread then screen tearing and instability would occur. To avoid this, make sure you do all camera and logical processing on the update thread. 

 

One way to do this is to make sure that your objects process all tasks when they are updated. The camera does this by managing a que of effects that are updated and drawn when it's Update(Gametime time) method is called.