Chapter 11. Creating a 2D Game

IN THIS CHAPTER

We have enough basics under our belt that we can actually create a small 2D game. In this chapter we use the knowledge we have gained so far and add a little bit more and create a parallax side scrolling game complete with collision detection.

Setting Up the Game Skeleton

To get started, we need to create our solution and project files and add the XELibrary project as well. We can call this game SimpleGame as it will be a rather basic but complete game.

After we have our environment set up, we can jump right ...

Get Microsoft® XNA™ Unleashed: Graphics and Game Programming for Xbox 360 and Windows now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.