There is something to be said for really knowing a topic. To be able to have information at your brain's fingertips at all times makes for quick work. But realistically, there is no way for me (rather.... Read More >
分类目录归档:Computer
2009
02-17
02-17
XNA Part 10 – The Sprite Sheet
We have taken a little diversions with audio and collisions, but today I want to talk about a handy way to optimize your game. Up until now whenever we have wanted a sprite in our game we would just c.... Read More >
2009
02-17
02-17
XNA Part 9 – Pixel Based Collisions
Let me start by saying that the XNA Creators Club tutorials on collisions are really good and a lot of what I have learned so far has come from them. .... Read More >
2009
02-17
02-17
XNA Part 8 – Simple Collisions
Most games that have any kind of movement need to detect object collision. There are many levels of object collision (as I am learning) that we can detect, but to start, we will look at simple rectang.... Read More >
2009
02-17
02-17
XNA Part 6 – Audio – Music
Today we will take a slight detour from our drawing of textures to another very important part of games. The audio! Music and sound effects are incredibly important parts of games no matter if you are.... Read More >
2009
02-17
02-17
XNA Part 7 – Audio – Sound Effects
In our last installment, we talked a little about the Song object and how to load a music file and play it in our games. In this post we will talk about the SoundEffect Object. From my understanding t.... Read More >
2009
02-17
02-17
XNA Part 5 – Game Object Class
Up until now we have had our sprite be a simple Texture2D object with its position property as a separate Vector2 object. To simplify our coding, we are going to create another class to handle our in .... Read More >
2009
02-17
02-17
XNA Part 3 – Updating an Object
Now that we have put a graphic on the screen, we want to make it do something. Perhaps we want to make it move on the screen. First off, in the last example we created a variable inside the Draw metho.... Read More >
2009
02-17
02-17
XNA Part 4 – Controls
Now that we have drawn a texture on the screen and made it move on a sine wave, lets make it move in response to our input.There are 3 basic input devices that you can access. The Keyboard, The Mouse .... Read More >
2009
02-17
02-17
XNA Part 2 – Some Simple Drawing
Now that we have a very basic understanding of the framework of our game, we will do something equally as simple. Taking an image, bringing it into ou.... Read More >