The XNA Game Execution Model

Must Read

Guide to online marketing – advantages, disadvantages, and strategies

While some of online marketing's advantages benefit can be enjoyed right away, some of its benefits require discovering. Internet...

3 Steps to Finding the Best Bank For Private Student Loan Consolidation

Depending upon the type of student you were, your college experience was either filled with stress, studying and the...

A Calendar of Events Keeps Visitors Informed

For certain types of businesses, a comprehensive, current calendar of events related to your business can encourage repeat visits....

Advantages Of Business Marketing On Facebook

The advantages Facebook offers are too much to be listed out and it makes people understand why it is...

Processing Arrays Using the continue Clause

A loop sometimes finishes the task that it’s performing with a particular sequence or array elements, but you want...

Handling Your College Finances With ACS Student Loan

Financing college education is not something that everyone is capable of. Especially with the global financial crisis looming behind...

XNA uses a game loop that is generated by the design tools. The life cycle for a game consists of four main stages, as shown in Figure 1.

The life cycle for an XNA game

The game first initializes and then loads content such as sprites, images, sounds, and other components of the game. It then initiates the game loop. The game loop consists of two processes that run asynchronously: code that draws the frame containing the complete screen to a buffer, and code that updates the screen from the buffer. This loop runs until the user closes the game, at which point the content is unloaded.

Draw and Update are executed at different rates. Draw is executed as frequently as possible based on the maximum frame rate that the device can provide, whereas Update is executed at a regular rate. The draw rate should generally be higher than the update rate.

For more information about creating games using XNA, see “Getting Started with XNA Game Studio Development” on MSDN® ( For a walkthrough of creating a simple game using XNA, see “Your First Game: Microsoft XNA Game Studio in 2D” at on MSDN (


Latest News

Digital Marketing for Beginners

Digital marketing for starter, Let to basic learning about connecting with your audience in the right place at the...

More Articles Like This