Developing Game-Themed Applications with XNA
Day 1 - Section III: The Block Breaker
Game
b. The simple circle again
back to Day-1 main page
References:
Building and Running:
Download and unzip this file and you should see a SourceCode folder. With
XNA Game Studio Express installed on your PC, you should be able to double click
on the SimpleXNA.sln file to invoke the IDE.
You can now Build
and run this program. When the application first starts, you will see:
The left thumbstick on the gamepad controller controls the relative
position of the circle. Notice that, in this case, you can also use the i-j-m-k
keys on your keyboard to control the circle. The XNACS1LibBase maps all
the controller functionality to the keyboard.
Implementation: we have already seen the
detail of this implementation earlier. We will use this source code to begin
building our simple BlockBreaker game.
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.