Please activate JavaScript!
Please install Adobe Flash Player, click here for download

SAE Alumni Magazine 1|12

lichung ihrer Spiele geöffnet. Viele unabhängig produzierte XNA Games haben somit echten kommerziellen Erfolg er- langt. Du kannst XNA selbst ausprobieren. Lade “Visual C# Express” und “XNA Game Studio 4.0” kostenlos von der Microsoft- Website herunter. Starte Visual Studio, erstelle ein neues Projekt und wähle das XNA Game Studio 4.0 Template und Windows Game als Projekttyp. Du kannst nun mit Hilfe der Tutorials auf MSDN (s. Infobox) anfangen dein erstes Spiel zu machen. Im Moment kann C++ sich noch als Platzhirsch unter den Spieleprogrammiersprachen beweisen. Doch das wird sich ir- gendwann ändern – also wer übernimmt dann die Rolle? Wer- den es C# und XNA sein? Die nächste Generation von Spie- leprogrammierern wird entscheiden. Bei Qantm/SAE London stellen wir den Studenten C# und XNA im Rahmen des BSc Games Programming Studiums vor. Wir haben herausgefun- den, dass die Studenten vergleichbare grafische Spiele damit schneller zum Laufen kriegen als mit C++. C# hat hat genau das gleiche Porgrammierkonzept wie C++, also hilft das Erler- nen von C# auch die C++ Kenntnisse zu festigen. Außerdem können die Studenten anspruchsvolle Features wie Videos in ihre Games einbauen, was in C++ viel länger dauern würde. Falls XNA die Standard-Spieleentwicklungssoftware wer- den sollte, wäre seine Zukunft gesichert. Die Probleme mit der Performance und die eingeschränkte Portabilität scheinen dies aber in Frage zu stellen. Auf der anderen Seite könnte C# je- doch unabhängig von XNA eine tolle Zukunft haben und C++ als Programmiersprache für allgemeine Zwecke überholen. Andererseits könnten wir aber auch von einer komplett neuen Sprache überrascht werden – die wichtigste Lektion beim Un- terrichten unserer neuen Programmer ist es also ihnen beizu- bringen wie man felxibel ist und sich an alles, was die Zukunft so bringen mag, anpasst. n You can try out XNA for yourself. Download “Visual C# Ex- press” and “XNA Game Studio 4.0” from Microsoft’s website. These are free to download. Start Visual Studio, create a new project, and select the XNA Game Studio 4.0 template. Then choose Windows Game as the project type. You can now start making your first game, by following the tutorials on MSDN (see info box). For now, C++ remains firmly entrenched as the top dog of game programming languages. But that will eventually change – so what might take over? Will it be C# and XNA? The next generation of game programmers will decide. At Qantm/SAE London we introduce students to C# and XNA as part of the BSc Games Programming course. We’ve found that it lets students get graphical games working quickly, compared to a comparable game written in C++. C# has all the same pro- gramming concepts as C++, so learning C# helps to reinforce the C++ core of the course. And students are able to add ad- vanced features to their games, such as videos, which would take a lot longer to do using C++. If XNA were to become the standard game development library, its future would be assured. But the issues of perfor- mance, and particularly the limited portability of XNA, would seem to discourage this from happening. On the other hand, C# could have a happy future independently of XNA, and over- take C++ as the general purpose programming language of choice. Then again, we might all be surprised by a completely new language – so the most important lesson to teach our new programmers is how to be flexible, and to adapt to whatever the future throws our way. n Microsoft’s XNA is designed to allow game developers to get games up and running as quickly as possible. What do students make of it, and will it become the most popular game development tool? Microsofts XNA erlaubt es Game-Entwicklern Spiele schnellstmöglich zum Laufen bringen. Was machen die Studenten daraus? Und wird es das populärste Game Development Tool werden? Making games with XNA Could Microsoft‘s XNA be the future of game development? by Jason Colman Photos:JasonColman,SAELondon Students discover the joy of XNA An XNA game programming session in Visual Studio Downloads and information To get started, you need to download Visual C# Express Edition and XNA Game Studio 4.0. Start at www.dream- buildplay.com. A recommended book is Reed, A. (2010) Learning XNA 4.0: Game development for the PC, Xbox 360, and Windows Phone 7, published by O’Reilly. For a first game tutorial, search for “Your first game MSDN”. INFOBOX So what is XNA? XNA is a game development software library, which means game programmers use it to create new video games. It’s designed to cut development time, by providing ready-made code. XNA works with a programming language called C# (“C sharp”). Like XNA, C# was created by Microsoft. This means you can use XNA to write games for Windows PCs, Windows Phones, and even the Zune if you can find one. Excitingly, you can also play your game on an Xbox 360. But as you might guess, you won’t be able to run your games on any other devices or operating systems. C# has many similarities with other programming languages, particularly C++ and Java. If you are familiar with one of these languages, you’ll pick up C# in no time. C# has some features which make the life of a programmer easier, but C++ remains the favourite programming language for commercial game de- velopment. The reason for this is that a game written in C++ will run faster – and speed is critical for games. XNA has opened the door to hobbyist developers and mi- crostudios getting their games published, via Xbox Live and Windows Phone marketplace. Many independently produced XNA games have met with critical and commercial success. Was ist also XNA? XNA ist eine Spieleentwicklungssoft- ware, was bedeutet, dass Spieleprogrammierer es nut- zen, um neue Videospiele zu kreieren. Es wurde geschrieben, um durch vorgefertigten Code die Entwicklungszeit zu verkür- zen. XNA arbeitet mit einer Programmiersprache namens C# (“C sharp”), ebenfalls von Microsoft erfunden. Das heißt, du kannst mit XNA Spiele für Windows-PCs, -Handys und so- gar für das rar gesähte Zune schreiben. Tollerweise kannst du dein Spiel sogar auf der Xbox 360 spielen. Doch, wie du dir vielleicht denken kannst, laufen die Spiele auf keinem anderen Gerät oder Betriebssystem. C# hat viel Ähnlichkeit mit anderen Programmiersprachen, besonders mit C++ und Java. Wenn du dich mit einer dieser Sprachen auskennst, verstehst du C# im Nu. C# hat so manches Feature, dass das Programmiererleben einfacher macht. Doch C++ bleibt die favorisierte Programmiersprache für kommer- zielle Spieleentwicklung. Der Grund dafür ist, dass ein in C++ geschriebenes Spiel schneller läuft – und Speed ist entschei- dend bei Games. XNA hat Hobby-Entwicklern und Mini-Studios mit Xbox Live und dem Windows Phone Marketplace die Tür zur Veröffent- JASON COLMAN is the head lecturer for the BSc Games Programming course at SAE London. You can try out XNA for yourself. Download “Visual C# Express” and “XNA Game Studio 4.0” from Microsoft’s website. Du kannst XNA selbst ausprobieren. Lade “Visual C# Express” und “XNA Game Studio 4.0” kostenlos von der Microsoft-Website herunter. PRODUCTION & KNOW HOW // GAMES 121120 PRODUCTION & KNOW HOW // GAMES