CS583_spr2013_3DGameProgrammingUsingMicrosoftXNA.pdf Syllabus.
You are HIGHLY encouraged to branch out and find new sprite sheets and graphics to use in your own game. It is required that you have a short game document where you can outline the game idea and give credit to the source of any graphics or code that you have chosen to include in your game.
Lect 6 Ch 5: Applying Some Object-Oriented Design 16 Feb 2011
Game1.cs Major refactoring of the code motivating the SpriteManager.
SpriteManager.cs
AutomatedSprite.cs
UserControlledSprite.cs
MSDN Search
Sprite Sheet Packer
code Sample Details sprite sheet
Lect 7 Ch 6 Sound Effects and Audio 21Feb2011
Lect8
Ch 7 Basic Artificial Intelligencea 21Feb2011
Watson wins Jeopardy
By providing more dynamic creation and motion for sprites, the game developer gives the impression of "intelligence" in the game.
SpriteManager code.
Program code.
Game1 code.
Automated Sprite code.
Chasing Sprite
EvadingSprite code
UserControlledSprite code.
Lect 9 Ch 8 Putting It All Together covers splash screen 23Feb2011 - Similar to Chapter 5, we have a major refactoring of C# code, yielding UpdateSprite method within the
SpriteManager code.
For game completeness, we want Splash Screen at Game Start, Scoring on a Background Screen during InGame and Summary/Closing Screen at GameOver, motivating Game States (3) and writing text as Texture2D with a SpriteFont. For scoring, different Sprites need to different point values on collision with UserControlledSprite, which is set when spawned. They also have different sounds for collision. Game1- class variable needed to keep score and several schemes developed to detect scoring event. Now have six (6) sprites with different images, sounds, points and behavior.
Program code.
Game1 code.
Automated Sprite code.
Chasing Sprite
EvadingSprite code.
UserControlledSprite code.
Table 8.1 Sprites and their purposes click for full image