Overview:
The
XNACS1Lib
library
supports the implementation of 2D simple interactive applications. This library is designed
specifically for computer science students and faculty
with no background in computer graphics or video games. This guide consists of a
collection of tutorials demonstrating the basics of how to work with the
XNACS1Lib.
How to begin working with XNACS1Lib:
Assuming you know C# (or Java, or
C++), we believe the easiest way to begin working with XNACS1Lib is:
Follow the first two tutorials to understand the basics of how to use this library.
Design/implement your own simple 2D interactive graphics application
with simple colliding graphics objects.
Read and follow the subsequent tutorials on the more
involved topics
(working with Audio and showing/hiding groups of primitives ).
After you have some experience working with the library,
you may want to refer to the complete library documentation:
html-page
or
compiled html help file
.
Keyboard mapping
: If you do not have a XBOX 360 gamepad controller connected, you
can use the keyboard, of the input devices on the phone. Here is
how the gamepad controller is mapped.
World bound: colliding and clamping primitive with the world
bound
AutoDrawSet: how to hide/draw primitives
Tutorial 3:
Working with PrimitivesSet: PrimitiveSet is a simple collection structure that supports grouping
mainly for AutoDrawSet membership control (group insert/remove from the
AutoDrawSet). Covers:
This work is supported in part by a grant from
Microsoft Research under the Computer Gaming Curriculum in Computer
Science RFP, Award Number 15871 and 16531.