|
Documentation
|
Creating a complete game: BreakoutThis document has been updated for use with GapiDraw 4.0 or later. |
IntroductionIn this tutorial we will show you step by step how to create a complete game using GapiDraw: Breakout. You will find the finished application in the folder GapiDraw40\Samples\Win32\Breakout.
What you need to get startedTo get started, you need:
It is strongly recommended that you use Visual Studio 2005 Standard or Visual Studio 2008 Professional instead of the older Embedded Visual C++ 4.0, especially if you would like to take advantage of the DirectDraw features of GapiDraw 4.0. If you use Embedded Visual C++ 4.0 you will not be able to take advantage of the new features of GapiDraw 4.0 such as windowed mode and hardware accelerated graphics through DirectDraw. If you have not already done so, it is recommended that you apply for the Microsoft Empower for ISVs - a special deal where you will get the following tools for just $375:
If you do not have access to Visual Studio 2005 Standard or Visual Studio 2008 Professional, you can download a free 90-day trial version of Visual Studio 2008 Professional from Microsoft to help you get up to speed quickly.
Creating a game in 12 stepsWe will create the game Breakout in 12 easy to follow steps. We will describe each step, what it does, and also paste the source code and necessary steps to finish each step. We will not go through general game design principles in the tutorial (like subpixel accuracy and performance optimizations), but will focus exclusively on how to use GapiDraw to quickly and easily create a good looking game! The 12 steps are:
Let's begin!Let's move on with the first step - creating a Skeleton application!
|