Download - Writing Games in .NET with XNA Game Studio
![Page 1: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/1.jpg)
writing games in .net withxna game studio
North Dallas .NET User Group2 May 2012
Addison, Texas
![Page 3: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/3.jpg)
a brief introduction
Game Development Framework
Released by Microsoft in 2006
C# or VisualBasic (Managed code)
Built on components of DirectX
Supports 2D + 3D games
![Page 4: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/4.jpg)
game publishing platforms
Windows
Xbox 360 (Indie Games, Arcade)
Windows Phone 7
![Page 5: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/5.jpg)
successful xna projects
• Bastion*• Schizoid• Magicka• Terraria• Sol Survivor
![Page 6: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/6.jpg)
the xna project structure
• Game project• Teh codez
• Content project• Images• Sounds• 3D models• Typefaces
![Page 7: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/7.jpg)
typical game structure
Game InitializationContent Loading
Game Loops...
Content UnloadingGame Exit
![Page 8: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/8.jpg)
game loops
Update() + Draw()Update() called at 60Hz
Perform autonomous updatesWait for and respond to user input
Draw() immediately afterUpdate visible graphics
Be wary of CPU/GPU constraints
![Page 9: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/9.jpg)
the Game object
• Initialization• Content loading/unloading• Game loops• Component management• Mini-games• Separate Update() and Draw() methods• Linked to Game calls
![Page 10: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/10.jpg)
the content pipeline
• “Compiles” game assets during a build
• Included processors:• XML » Object• Textures » textures• 3D models » vertices, textures, etc.• Audio (XACT) » audio files• Typefaces » sprite fonts
• Custom processors
![Page 11: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/11.jpg)
demo
“Ping”
![Page 12: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/12.jpg)
the future of xna
“Legacy Support”
![Page 13: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/13.jpg)
where to go from here
Form a team
Leverage your skills
Learn and share
Enter a contest!
![Page 14: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/14.jpg)
microsoft’s “dream build play”
15 May – 12 June 2012
Windows Phone 7 + Xbox 360
Judged on “fun factor”, innovation,
polish
Over $110,000 in prizes
![Page 15: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/15.jpg)
educational resources
App Hub create.msdn.com
XNA Team Blog blogs.msdn.com/b/xna
Shawn Hargreaves blogs.msdn.com/
shawnhar
Renaud Bédard theinstructionlimit.com
![Page 16: Writing Games in .NET with XNA Game Studio](https://reader036.vdocument.in/reader036/viewer/2022062418/5560b704d8b42aef3b8b4a4f/html5/thumbnails/16.jpg)
presentation resources
Slides slidesha.re/nddnug-xna
Code (GitHub) bit.ly/nddnug-xna-ping
Download XNA bit.ly/nddnug-xna-get
Rate Me! spkr8.com/t/10101