Preparation


In this chapter we will be concentrating on the control scripts found in the control subtree, as outlined in Figure 4.2. To prepare for this, you need to set up your development tree, as follows:

  1. In your 3DGPAi1\ RESOURCES folder, locate the EmagaCh4KitInstall.exe program.

  2. Run the kit installer. You can install the chapter kit anywhere you like—the default will be to put it in the root folder of your C drive, and this is where I'll assume it is in this book.

You probably won't use more than 15MB of disk space, but you should have the rest available for backups and temporary files and so on.

You will note that there is no main.cs file in the same folder as tge.exe. This is by design, because that is one of the files you will be creating. Also note that there are no .cs files in the control folder either. Again, this is intentional—you will be creating them from this chapter.

The code in Emaga4 is pretty well the bare minimum in terms of the game control code. In later chapters, we will expand on this skeletal implementation as we add more and more useful features and flesh out the game.




3D Game Programming All in One
3D Game Programming All in One (Course Technology PTR Game Development Series)
ISBN: 159200136X
EAN: 2147483647
Year: 2006
Pages: 197

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net