100 likes | 193 Views
CS470 Final Project Chris Ragland. Game Creation in XNA. Project Overview. Project Goals The main goal of this project was to create a game from scratch using Microsoft XNA.
E N D
CS470 Final Project Chris Ragland Game Creation in XNA
Project Overview • Project Goals • The main goal of this project was to create a game from scratch using Microsoft XNA. • The game I ended up creating is a simple puzzle game that has the user attempting to destroy targets as fast as possible, to achieve a high score.
Project Overview • Project Features • The game contains features you would expect of a simple arcade like game, including a title screen, high score tracking, quick game play, as well as music. • Originally the game was going to be presented on an Xbox 360, but converting a PC game project to a 360 game project is tougher than I figured.
A Little XNA Information • XNA is a set of tools that include the XNA Framework. • XNA Framework makes it very easy to create 2d and 3d games. • Games created in XNA can work on PCs, Xbox 360s, and Microsoft Zune devices.
Game Workings • Game is controlled with a state machine.
Game Workings • Levels are read in from XML files when the game is first loaded. • “Sprites” are drawn to the screen and refreshed sixty times a second. • XNA makes it extremely easy to render sprites, as well as modify their attributes.
Sprites • Every drawn in my game is a sprite, containing a texture, location, and bounding box. • XNA provides classes for storing and manipulating textures as well as vectors. • Drawing sprite is as easy as Draw(texture,rectangle,Color.White);
Demonstration • Now I'm going to demonstrate a few of the levels of the game I made. • Final project contains 15 levels, I'm only showing 4 now.
Conclusion • XNA provides a powerful Framework that makes it easy to create a game. • I had a fun time getting to learn C# at a more in depth level, as well as creating all of my own assets for the game. • If I were to do this again, I'd start with a 360 project from the start to ensure it would run on the 360 when finished.