Documente Academic
Documente Profesional
Documente Cultură
Secondly, you need to download the Microsoft XNA Game If you encounter any problems that you cannot overcome or
Studio 3.1 and install it on your PC. If you have access to the solve on your own, please contact us by e-mail at
MSDN AA via the educational institution at which you are swissarm@microsoft.com and explain what part of the
studying, you will find it in the download list. If you don’t have programming exercise you cannot solve. We will provide you
access to MSDN AA, you can download it here. XNA Game with some tips and tricks to help you overcome the problem.
Studio will provide you with the required gaming tools, libraries,
services and documentation. Implement Game Level 1
When you have finished this part, you are ready to start with the In this section you will add some nice functionality to the basic
Gaming tutorial. If you have any questions or problems with one game of the 2D game-programming tutorial. For some functionality
of the installation steps, simply send us an e-mail. we define in detail what you need to implement for a game,
whereas for other functionality we specify fewer requirements,
thus giving you the chance to be creative (e.g. if we advise you to
Knowledge and Tutorials program a cannon to be movable, you can decide how it moves,
On the http://creators.xna.com website you will find a lot of or if we advise you to add new UFOs to the game, you can decide
information and tutorials on the subject of game development. what they should look like). Some of the functionality can be
In this part we list the most important information that you need implemented by following tutorials available online. In these cases,
in order to work through the exercises. So let’s get started and we will provide you with a tip of the related tutorial in brackets.
work through the following tutorials:
To complete Game Level 1, please implement the following
Gaming in 2D – Basics functions for the basic game:
In this first 2D game tutorial you will learn the basics of game 1. Implement a scoring system for the game so that the player
development. There are different sections which are explained gets points when shooting UFOs (see tutorial).
in videos. When you go through it step by step, you will have a 2. Program UFOs to explode when they are hit by the player
nice experience of «learning by doing». Please note that you while shooting them (see «Adding 2D Particles and
have to complete this tutorial as a part of the exercise as you Explosions» tutorial).
will be creating the basic 2D spaceship game template while 3. Program the cannon such that it can be moved by the
going through this tutorial. player.
Click here for the XNA 2D Gaming Tutorial. 4. Program UFOs to drop randomly exploding bombs, which
damage the player’s cannon. The player should have 100
Gaming in 2D – Extra Tutorials energy points to begin with, and each hit of the bomb
At the end of the 2D game tutorial you can find a section should damage the player’s cannon by 10 points. Program
called «Extra Credit – Community Tutorials». It’s up to you to the game to end if the energy level falls to 0 points
choose which of these tutorials you want to do; just note that (see «Attacking Enemies and Shields» tutorial).
they can help you a lot to solve the exercises in the next part. 5. Add new UFOs to the game that have a new outlook and
Click here for the Extra Tutorials give the player more points if he hits them while shooting.
6. Implement a functionality such that if a player kills 10 UFOs
Gaming in 3D in a row without letting one escape, an icon falls from the
Here you can do some practical training in 3D game program- sky and the player gets a laser pointer for his cannon for a
ming. This tutorial is the next, more advanced step in game limited period of time.
programming, but is not necessary to complete this Game 7. Program a way for the player to pause the game.
Programming-Exercise.
Click here for the XNA 3D Gaming Tutorial
Tips and Tricks
If you encounter problems that you cannot overcome during
C# programming or if you are looking for information about
the Visual Studio 2008/ Visual C# 2008 features, check out the
MSDN page about Visual C#. Especially the «How Do I in C#»
section is very helpful if you don’t know how to complete certain
tasks with Visual C#.
If you are a Java programmer, you might find this Java (J2SE 5.0)
and C# comparison useful. It will help you to think in C#.
And finally, if you encounter any problems that you cannot over-
come or solve on your own with the help of our provided tutorials
and links, please contact us by e-mail at swissarm@microsoft.com
and explain what part of the programming exercise you cannot The Online Game-Programming Exercise is open to everyone
solve. We will provide you with some further tips and tricks to studying in Switzerland regardless of their educational level
help you overcome the problem. (employees of Microsoft and their family members excluded).
The submission period will begin on September 15, 2009 and end
when we have distributed the 120 Xbox 360 Arcade consoles, or
at the latest on May 30, 2010. Please see www.academiczone.ch
What Do You Have to Submit?
To pass this exercise you must submit your Game-Programming if you want to find out whether the submission time ends before
Exercise by e-mail. When you have finished, create a zip folder May 30, 2010.
named xna_your-lastname_your-firstname.zip (ex. xna_meier_
hans.zip) and send it to swissarm@microsoft.com* following Submitting a solution does not give the competitor any entitle-
the submission instructions provided in the General Participation ment to a game device. Microsoft holds the sole right to judge
Rules & Submission Instructions section of this tutorial. If you have the submitted exercises and will contact each student receiving
any questions or if you come up against problems you cannot an award in person**. If we discover that you have copied your
solve within a reasonable time, you can send an e-mail to the solution or parts of it from other participants (outside of pub-
same address. lished tutorials), Microsoft reserves the right to refrain from giving
you a prize and disqualify your participation in the campaign.
General Participation Rules & Submission
Instructions Additional Prize of 10 Xbox Games to the
© 2009 Microsoft Corporation. All rights reserved. All above mentioned products are either registered trademarks or trade-
marks of Microsoft Corporation in the United States and/or other countries. Other product and company names mentioned
herein may be the trademarks of their respective owners. Subject to change.