The following are links to implementation guides
of the XGA modules. If you following through the following guides, you will gain
some ideas of how to implement XGAs yourselves.
-
AssignmentBase:
Documentation
of the library and TemplateAssignment
- Source code: files and folders structure.
- Documentation: for all functions in the library.
- Working with input: triggers, vibrating the controller, and button
clicks.
-
XGA-100:
Implementation guide
to the assignment on Operators
- Object Color: changing of object color during run time.
- Texture replacement during runtime: changing left/right facing.
- Input: controlling object movements based on controller trigger.
-
XGA-200:
Implementation guide
to the assignment on Random Number
Generation
- Drawing: random generation of colors and insects.
- Drawing order: back objects first, front objects last, with status
echo being drawn the very last.
- Animation: Insects animation movement.
- Object Interaction: intersection of hero's net and insect
(circle-circle intersection).
- Input: navigating the hero with thumbstick.
-
XGA-300:
Implementation guide to
the assignment on Array of Object References
- Coordinate System: matching drawing coordinate system with array
index.
- Texture: using texture image for labeling (the numbers).
- Source files: additional source files in the project.
- Input: working with button clicks.
-
XGA-400:
Implementation guide
to the assignment on 2D Arrays
- Coordinate System: once again, matching drawing coordinate system
with (2D) array index.
- Input: discretized movement (from center of cell to center of
cell).
- Logic: clear separation of graphics and game-logic.
-
XGA-500:
Implementation guide
to the assignment on Class
Hierarchies
- Freefall: initial velocity with constant increment of y-component.
-
XGA-600:
Implementation guide
to the assignment on Lists and
Queues
- Graphical feedback: echo user input in defined list (the object
list at top).
- Object interaction: intersecting circle with axis-aligned
rectangle.
- Object interaction: bouncing of object off the window bounds.
- Object: changing of object positions during runtime.
-
XGA-700:
Implementation guide
to the assignment on Binary Search
Trees
- Side scrolling: understand how to program and work with
side-scrolling.
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.