O'Reilly logo

Beginning XNA 3.0 Game Programming: From Novice to Professional by Riemer Grootjans, José Antonio Leal de Farias, Bruno Evangelista, Alexandre Santos Lobão

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 22D Graphics, Audio, and Input Basics

In this chapter, you'll create a simple program that manipulates simple 2D graphics. By doing so, you'll explore some relevant 2D game-creation concepts, such as the use of sprites and collision-detection algorithms. You'll also see how to deal with user input in XNA. Finally, you'll learn some basics of using audio in your games. By the end of this chapter, you'll be ready to start creating 2D games.

2D Graphics

In the previous chapter, you learned how to create an empty Windows Game project using XNA Game Studio. Now, you'll create a basic project that displays two simple 2D images on the screen. You'll learn how to move these images and make them collide with the window borders and against each ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required