How to code games for the PC and Xbox 360

Of course, that raises another question: just what is a tick? Think about it this way: your computer is doing all sorts of things behind your back.

In the case of the Xbox 360, it's managing RAM, it's checking whether your friends are online and it's busy calculating when would be the most annoying time to show you its Red Ring of Death. Your game has to play nicely with all the other things the computer is doing, which means it only has control for part of the time.

1. Add the asset to your solution. If you look on the right of the VC# window you'll see the Solution Explorer, which contains things like Properties, References, Content, and some files ending with .cs (that's the file extension used for XNA code). To add some game content to your solution, right-click on Content then choose Add > Existing Item then choose what you want to add. The file will automatically be copied to the Content directory for your game.