Tutorial Exploring Game Development in the .NET Platform with Managed DirectX, GDI+ and Mobile Devices
This tutorial explores current game development possibilities for the .NET Platform. The creation of a simple 2D game engine is used to illustrate many aspects of Managed DirectX computer game development, while concepts such as graphics manipulation, input handling and sound support are also discussed considering the GDI+ API and game development for mobile devices. The final purpose is to empower game developers to the productive creation of computer games through Microsoft’s recent technologies, services and tools.
…
One of the purposes of this tutorial, therefore, is to enrich game developer experience by presenting some of the most important DirectX features related to game development, as well as by providing familiarity with the Microsoft integrated programming environment (Visual Studio .NET) and the C# language. Additionally, the tutorial is not limited to DirectX technologies; major aspects of computer game development, such as graphics manipulation, input handling and sound support are also discussed considering the GDI+ API and game development for mobile devices. Game developers will be instructed on when to choose between DirectX and GDI+, as well as be introduced to concerns related to porting desktop PC games developed in .NET to mobile devices. It should be noticed, however, that the purpose of this tutorial is to provide an overview of game development in the .NET Platform. It is not designed to detail all aspects of .NET, C#, DirectX, GDI+, Visual Studio .NET or mobile devices.
…
Once you have a Graphics object, you can draw graphical elements in the window, such as lines, for example. But before that, you generally need to create a Pen object, which will define how the item will be drawn. Creating a Pen can be as simple as only specifying a color for it. However, if you want a more complex behavior, you can use a Brush object to create a Pen. The simplest brush is the SolidBrush, which is used to draw a solid color. A HatchBrush can be used to draw with a hatch style, i. e., by using patterned lines (which can be vertical, horizontal, diagonal, etc.). An example of a HatchBrush will be shown in a while. Other brush types are the GradientBrush (used to blend two colors together) and the TextureBrush (where an image is used as the brush).
…
Website: www.cin.ufpe.br | Filesize: 947kb
No of Page(s): 40
Click here to download Tutorial Exploring Game Development in the .NET Platform with Managed DirectX, GDI+ and Mobile Devices.
Related Copyrighted Books
Windows Game Programming for Dummies, Second Edition
Visual Basic Game Programming with DirectX (The Premier Press Game Development Series)
Real-Time 3D Terrain Engines Using C++ and DirectX 9 (Game Development Series)
Introduction to 3D Game Engine Design Using DirectX 9 and C#
C# and Game Programming: A Beginner’s Guide (Book & CD-ROM)
Related Tutorial
Tags: .NET, DirectX, games programming, GDI+, managed, Mobile Device
Comments
Leave a Reply