Chapter 8 Test
1. The C# code int scores; creates an array that could hold four integers.
2. An array can hold any type of data.
3. An array is an object.
4. The first element in an array has the subscript 1.
It doesnt matter if your array subscript
Creating a Multi-Player Game
1. Now that you can write programs that process data, read input from the gamepad, and
display text and graphics, you can move on to create some proper games.
2. The first games that you are going to create are simpl
Chapter test 1, 4, 5
1. The C# compiler manages images.
2. In an XNA program, an image can be held in a texture.
3. XNA uses the LoadContent method to load the graphics images onto the display.
4. A sprite is a small, pixie-like creature who liv
1. Now that you can display pictures and text, its time to make some noise.
2. Then you can set about making a proper gaming experience for your players.
3. You add sound to a game in the same way as you add other resources.
Getting Player Input
1. You now know the basics of computer game programming.
2. You know that a program is actually a sequence of statements, each of which performs a single
3. You have seen that statements are held inside methods, each
1. Your understanding of computers and programs should be coming along nicely by now.
2. You are starting to get a grasp of classes, methods, and data, as well as the C# constructions
that let your programs make decisions depen
Creating a Timer
1. You are now going to use your knowledge of Microsoft XNA and C# to create another game.
2. This builds on the party theme that you explored in Chapter 6, Creating a Multi-Player
Game, where you created a button-bashing game.