I converted the code to use in my first tutorials for my students (I teach computer science in a secondary school) to Beta 2.
 
Please feel free to write suggestions and/or use it if you like.

/// <summary>
///
Tutorial 1 – from XNA help and forum community contributes – by Toni Greco
///
_Interactive 2D graphic application_
///
_ XNA Beta 2 _
///
Features:
///
resizable window
///
toggle fullscreen/window mode (type Home-Enter)
///
control player ball with arrow keys
///
background fixed (bitmap from Beta 1 Spacewar demo)
///
XACT sounds
///
press Esc to exit
///
it shows fps using XNAExtras (the same from Beta 1)
///
it don’t try to maximize fps (vertical sync. = true) to avoid flicker in fullscreen
///
simple collision test/response circle to circle
///
sprite with transparent and semi-transparent pixels (alpha channel in dds)
///

///
Special thanks to Gary Kacmarcik sharing his
///
"Creating Bitmap Fonts using bmfontgen".
///
I used here the same version that Gary Kacmarcik wrote
///
for XNA Beta 1, but it work without changes, but remeber
///
to make its resource (PNG and XML files) not buildable from Visual Studio.
///
In XNA Beta 2 we can load (and then use) textures at run time
///
like in beta 1 without build it to xnb files, but is not recommended.
///

///
If I don’t call audioEngine.Update() sounds work without problems for me,
///
but it is better to call it to be sure it work in all cases.
/// </summary>

The link to download the project:
http://www.tonigreco.it/_xna_/download.asp?name=WindowsGame2D.zip

Annunci