Game Programming Class5

esse quam videri
Revision as of 03:00, 9 February 2009 by Jeff (talk | contribs) (New page: Game Services Review Game Components * Sprite * DrawableSprite IntroGameLibrary Turn the console class into a service Each GameService need to have a unique interface so that...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Game Services

Review Game Components

   * Sprite
   * DrawableSprite


IntroGameLibrary Turn the console class into a service

Each GameService need to have a unique interface so that there is an entry in the system types table. The interface allows the game to return the correct type.

   * GameConsole.cs


All of these files are availble in the IntoGameLibrary Project Advanced Sprites/Collision Simple Collision

Check if two rectanges intersect PerPixelCollision

Load both textures into a color array. Make a reactange of the intersection if the two textures. Check all the pixels in intersection of the color arrays for intersecting pixels. the definition for both method is in the sprite class Sprite.cs Version Control SVN

Free SVN Book http://svnbook.red-bean.com/

Windows Client and tools TortoiseSVN (Windows) http://tortoisesvn.tigris.org/ AnkhSVN http://ankhsvn.open.collab.net/ VisualSVN http://www.visualsvn.com/visualsvn/ WinMerge http://www.winmerge.org/ Homework Collision test game.

create a game that collides two sprites. you can use either simple rectagle collision or per pixel as shown in class

Proposal for midterm game.

Prepare for a short (5-10) minute pitch of your midterm game. The proposals will happen next week in class. The proposal should include.

  1. Game Idea: the basic idea
  2. Game Description: longer description
  3. Game Goal: how do you win or what are you trying to accomplish.
  4. Audience: who will play
  5. User Control: how does the user control the game