Chapter 3
2D Graphics2D Graphics
Not many programmers jumping into game programming will start
off creating a clone of the latest 3D game that’s out there. In fact, if
you go onto almost any game programming message board and ask
what game you should create for your first project, I’d be willing to
bet that no one would suggest a 3D game. You’ll probably get sug-
gestions like Tetris, Breakout, and other clones of existing 2D
games. There are a couple of good reasons for this. Creating a game
with a known rule set and gameplay will be much easier than trying
to come up with your own idea for a game and implementing it on
top of learning the ins and outs of game programming. The less you
have to deal with for your first projects, the better. Why should you
have to put any thought into creating rules and coming up with
gameplay elements for a learning project? It would be a much better
use of your time to simply write a clone of an existing game.
The second reason is that most people find 2D game program
ming easier to learn than 3D. That third dimension adds a lot of
complexity to a game that most programmers just getting into game
development would find a significant obstacle to overcome quickly
and easily. It’s a much better idea to learn a little at a time and make
the move to 3D once you’re comfortable with how game program
ming is done.
Our first steps into the world of 2D game development will con
sist mainly of learning about the pieces of the XNA Framework that
you’ll be working with and seeing them in action in small projects
that demonstrate a function of each piece.

Get Essential XNA Game Studio 2.0 Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.