Developing Game-Themed Applications with XNA
Day-1: Introduction and build a simple game.
Link to workshop main page
Three-day workshop at SGWS, Mexico
Feb 12-14, 2010
-
Section-1: 9:00 - 10:00 Overview and Introduction.
-
Introduction:
slides on background and overview.
-
Simple Example:
construct and analyze the source code of a bare
bone XNA project.
-
Drawing
with XNA: draw a simple image with XNA*.
-
Interactive control:
interactively control the location of the
image*.
-
Running on the XBOX 360 and Zune : run the interactive control
project on the XBOX 360 console and Zune mp3 player.
- Section-2: 10:00 - 11:00 Work with the
XNACS1Lib library.
-
Working with the Library: draw and control a circle with
the library.
- Working with media: include file texture and audio effects.
- Exercise: paint and record your own texture and audio to include in
the bouncing game.
- Exercise: Remove circle from AutoDrawSet when colliding with
the window boundary.
-
XNACS1Lib Library: tutorial on the library. This library is especially designed to support faculty with no
graphics and/or games background to experiment with games/graphics based
assignments.
- Section-3: 11:15 - 13:00. Build a BlockBreaker game from
scratch.
-
BolckBreaker:
Design
and
implementation strategy.
-
Simple circle again:
Coordinate system and simple circle.
-
The Ball
Class: extend to shoot a bouncing ball.
-
The
Block and Paddle Classes: include a paddle to
bounce the ball around.
-
The BlockSet
Class: Viola! We have a simple block breaker game!
-
BlockBreaker
with textures: include a some file textures to make the game
slightly more interesting.
- BlockBreaker with
audio effects: include audio effects to make the game (I hope)
whole lot more interesting.
- Feedback form: how can we improve for tomorrow?
Acknowledgement: *Thanks to Mitch Walker for the
excellent idea of using sprite to introduce basic drawing with XNA.
This document and the related materials are developed with support from
Microsoft Research Computer Gaming Initiative under the Computer Gaming
Curriculum in Computer Science RFP, Award Number 15871, and 16531.