90 likes | 263 Views
By Isaac PArenteau. Agenda. What is XNA What is it can do Sample Code Questions. What is XNA. Created by Microsoft XNA is a set of tools used for developers to write games for Windows, Xbox 360 and Zune.
E N D
Agenda • What is XNA • What is it can do • Sample Code • Questions
What is XNA • Created by Microsoft • XNA is a set of tools used for developers to write games for Windows, Xbox 360 and Zune. • It uses .NET runtime environment and has various libraries that can be called to make game developing easier. • It includes an extensive set of class libraries, specific to game development, to promote maximum code reuse across target platforms.
What can XNA do? • XNA can render both 2D and 3D objects. • Various methods can be called to create, manipulate and draw objects to the screen. • XNA can also produce sound vary easily and quickly with help form XACT
3 Steps of XNA • First step is to load content into the objects to be displayed. This includes background imagines, game objects, and onscreen text. • Second step, update objects. As the game continues each object may or may not need updating to reset its position to be drawn • Third step is to draw the objects on screen.
XNA Support • XNA uses the .NET Framework • Technically it can be used with any language that uses .NET • Mainly supported with C# and Visual Studios/C# 2005 or later
Sample Code • SAMPLE CODE