|
Spaces home XBox 360 games: Halo3 or...ProfileFriendsBlogMore ![]() | ![]() |
XBox 360 games: Halo3 or build it yourself?XNA Express, building fun games!
|
||||||||||||||||||||||||||||||||||||
|
February 03 Pong in 5 MinutesWork along with the video, use the code snippets below to follow along, along with the simple graphics:
This video, along with the code snippet file that you can find at my sky drive: >>Pong in 5 minutes code snippets and image files<<
Investigating the Point concept in XNA and PongWhat is the Point in XNA? Take a look at this video, and use the code snippets below to follow along, the simple graphic is included.
December 28 PONG: The Adventure begins! Adding graphics to XNA Express!
December 27 Creating Games with the XNA Framework - Part 1 (starting over again, hang in there)GETTING READY TO Build Pong Before you get going make sure you have done these steps:
XNA Game Studio Express
Steps to Reproduce “In this session, I will be showing you how to build a game step by step using XNA Game Studio Express. The game we will be building is Pong - a game that should be quite familiar to you. Let’s start by launching XNA Game Studio Express and creating a brand new project.” 1. Launch XNA Game Studio Express “All XNA games have a standard template and format. First, you’ll notice that we are leveraging the XNA namespaces within our application, which provides support for audio, content, graphics, input controls and storage.” 1. Expand the Using Statements region “Notice that Game1 inherits from the Microsoft.Xna.Framework.Game interface which helps you easily manage the game’s logic and rendering code. We also define the GraphicDeviceManager object which handles the configuration and management of your graphic device. The ContentManager object is a run-time component that loads in managed objects from the binary files produced by the design time content pipeline.” 1. Scroll to the Game1 class “The Initialize() method sets up the initialization of the game. This is where you set up your game elements such as the sound effects.” 1. Scroll to the Initialize() method “LoadGraphicsContent() loads your games’ graphical content into the Resource Management Mode pools. You can use this method to load in the individual bitmap graphics for your game.” 1. Scroll to the LoadGraphicsContent() “UnloadGraphicsContent() is self-explanatory. It unloads your graphics contents and empties the pool. It will be called once the game screen is shut down. 1. Scroll to the UnloadLoadGraphicsContent() “Let’s now compile and run the game and take a look at the output. The result is simply a blank pale blue window. In case you are wondering, the exact color is CornflowerBlue.” 1. Hit F5 to compile and launch the “As you know, the classic version of Pong does not have a blue background, it has a black background. So let’s make the first change to our application and change the color to black.” 1. Go to the Draw() method in your code graphics.GraphicsDevice.Clear(Color.CornflowerBlue) to graphics.GraphicsDevice.Clear(Color.Black). All of the color options should appear in Intellisense “Now we’ll recompile and launch – now the game is starting to look more like the Pong we all know and love. In the next demo, I’ll show you how to implement the graphics within the game.” 1. Click F5 to compile and launch the
More to follow, hang in there! October 21 Another excellent blog about pong, with solid explanationsThis blog: http://eterragame.spaces.live.com/blog/cns!3FEF01FB0C7C77C7!144.entry is an excellent discussion about the nature of how the ball bounces in pong! Awesome blog entry about pong!If I was looking for a diligent and good worker, I would look no further than this blog: http://yazmartinez.spaces.live.com/blog/cns!F6DEBFBE98555B1E!127.entry A question about models, 3D models that is...A blogger has a question about how to use 3D Models at this link: http://adamlebo.spaces.live.com/blog/cns!D1BDFEB82C6722B4!128.entry.
If you can help out with XNA 3D Models take a look. October 20 Another excellent student blogTake a look a this blog, JT really gets what to use a Blog for: To tell his story about having fun with technology!
Thanks for visiting!
| |||||||||||||||||||||||||||||||||||