Introduction - University of Washington

Developing Game-Themed Applications
With XNA
Kelvin Sung
Computing and Software Systems
University of Washington, Bothell
Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010
Acknowledgement

Collaborator:





Special thank you:



Mike Panitz – Cascadia Community College
Ruth Anderson – UW Seattle, CSE
Robin Angotti – UW Bothell, Education
Cinnamon Hillyard – UW Bothell, IAS
Victor M. Larios Rosillo
Megy Seif El-Nasr
Sponsors:



Microsoft Research Gaming RFP: Award number 15871, 16531
NSF CCLI EMD: DUE-0442420
University of Washington, Bothell, Worthington Scholar Award.
Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010

http://faculty.washington.edu/ksung
Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010
First: your background …

Academics? Software Developers?

Programming Language?
C#, C++, Java?


User interactive programs?
GUI API: GLUT, FLTK, Swing, WinForm, etc.


“Graphics” or a “Console” person?
Graphics API: OpenGL, Java3D, Direct3D? or
Keyboard I/O?


Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010
What are you looking for?

Curious?
Sounds interesting, what’s up?


Evaluate potential for work use?
Heard about this, can I use it at work/class?
What do you do?



Self-interest
Can I develop some cool stuff when I have nothing to do
at home?


Nothing else to do
seems like a good place to waste a few days?

Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010
A word about me …


My background
Apology …
I don’t speak Spanish! SORRY!


Flexible …
Feedback, let me know!
SLOW ME DOWN!!!



Schedule is flexible!
Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010
This Workshop is about …

Up and running with XNA
Developing simple 2D Applications with XNA


If Graphics/GUI background
Humor me, and tell me what you think


If no Graphics/GUI background
Review MVC framework and
Start programming “pseudo games” in hours



Main goal: Game-themed application with XNA is EASY!

These few days:
Develop simple games
learn how to design game-themed materials


Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010
I need from you …

Feedback
Let me know!


Participate
Attempt at developing programs
Attempt at designing games/assignments
Present your work to the group (3rd day)




This is meant to be FUN! 
Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010
Questions?
Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010
Game Console development: a simple view …
Magic: Developer kit
(Proprietary & $$$)
Source Code
Gaming console API
Game
API Runtime support:
API Runtime support:
•
•
•
•
•
•
•
•
Drawing
Input from controller
Audio
Storage support, etc.
Drawing
Input from controller
Audio
Storage support, etc.
Hardware
Gaming Console Hardware
(Emulator/Simulator … )
(XBOX 360, Wii, PS-#)
Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010
Compare to our experience …
Source Code
Source Code
Gaming console API
Graphics API
GUI API
Operating System
Magic: Developer kit
IDE
Game
Program
API Runtime support
Gaming Console
Audio API
API Runtime support
CPU
Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010
XNA Framework and XNA Games Studio
XBOX App.
PC App.
Compiles
Zune App.
XNA Game Studio
(XNA GS)
Our Source Code
XNA Framework
(collection of APIs)
.net (D3D-9)
PC Hardware
.net cf (D3D-9)
XBOX 360
Hardware
Zune
Hardware
Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010
Load/Run on the XBOX 360: …
Local subnet
Our Source Code
XNA App.
XNA Framework
(collection of APIs)
XNA
Studio
Connect
XNA Game Studio
(XNA GS)
XBOX 360
PC
Internet
XBOX LIVE:
Verify ID
(security)
Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010
XNACS1Lib …
Our Source Code
XNACS1Lib
XNA Framework
(collection of APIs)
XNA Game Studio (GS)
Serious Game Winter School, Puerto Vallarta, Mexico, Feb 2010