home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / Source / GPCHAP18 / README.TXT < prev    next >
Encoding:
Text File  |  2002-05-01  |  3.9 KB  |  101 lines

  1.  
  2. READ ME for UnderWorld -- Final DirectX Demo Game
  3.  
  4. Within this directory is the source code for Chapter 18 of the
  5. book which covers the creation of UNDERWORLD. This README is a
  6. short guide to running the game and recompiling it.
  7.  
  8.  
  9. I. LOADING UNDERWORLD ONTO YOUR COMPUTER
  10.  
  11. UnderWorld consists of a main executable UNDERWLD.EXE, the icon
  12. UNDERWLD.ICO, and two data directories UNDART\ and UNDSOUND\ that
  13. contain the artwork and sound fx. The layout of the relevant
  14. run-time files are as follows:
  15.  
  16.  
  17. GPCHAP18\ <DIR>
  18.           |
  19.           UNDERWLD.EXE     -- The main executable.
  20.           UNDERWLD.ICO     -- An icon for your desktop shortcut.
  21.  
  22.           UNDART\   <DIR>  -- All the artwork files.
  23.           UNDSOUND\ <DIR>  -- All the sound files.
  24.  
  25. ***       UNDERTV.EXE      -- A last minute version that will work on
  26.                               a TV with a PC to TV RF modulator.
  27.                               Basically, just moved things around, so
  28.                               they would fit on a TV display which has
  29.                               less pixels. (just for fun)
  30.  
  31. The game will actually work right off the CD, but it will of course
  32. load the data a bit slow since most CD ROM drives aren't than fast.
  33.  
  34. The best thing to do is copy the entire GPCHAP18\ directory on your
  35. hard drive along with the sub-directoties and then create a shortcut
  36. on the Windows desktop to the executable UNDERWLD.EXE.
  37.  
  38. This will give the best performance. Of course, if you
  39. have already copied the entire SOURCE\ directory on your hard drive
  40. then you are all set. The main point is -- the directories UNDART\ and
  41. UNDSOUND\ must exist in the same working directory as UNDERWLD.EXE,
  42. otherwise, the program won't be able to find things.
  43.  
  44.  
  45. II. PLAYING UNDERWORLD
  46.  
  47. The main idea of the game is to advance thru the levels without getting
  48. killed and to accumulate as many points as possible. The game currently
  49. has 21 levels and they get harder as you go.
  50.  
  51. You are in control of "UnderWorlder", a post apocolypse genetically
  52. engineered being that is equipped with nothing more than his wits, a shovel,
  53. and a Co2 charged "Grappling Pump". UnderWorlder's mission is to dig underground
  54. world and rid the area of alien and mutation "infestations".
  55.  
  56. To accomplish your task, you must clear each level of all biological organisms
  57. by either pumping them up with Co2 until they explode, or by using the loose
  58. earth and mantle to drop large rocks on the creatures and crush them.
  59.  
  60. The controls for UnderWorlder are below:
  61.  
  62. <Arrow Keys> - Control direction of motion.
  63. <CTRL>       - Fire grappling pump.
  64. <P>          - Pause Game.
  65. <ENTER>      - Start a new game.
  66. <ESC>        - Exit, return to Windows.
  67.  
  68. **** Hints ****
  69.  
  70. * Use the rocks to your advantage, plan your path and try to drop as many rocks
  71. on the creatures as you can since you get more points.
  72.  
  73. * Rocks can be pushed around horizontally, so that you can place them in more
  74. strategic positions if you desire.
  75.  
  76. * Due to the 96% loss of the ozone layer, you can only withstand a few seconds of
  77. surface radiation. If you need to move to the surface, return underground as
  78. soon as possible. UnderWorlder can only take 600 rads of radiation before he
  79. dies.
  80.  
  81. * You get an extra man every 35,000 points.
  82.  
  83. * If you drop 2 or more rocks then a prize will appear, make sure to pick it up!
  84.  
  85.  
  86. III. COMPILING UNDERWORLD
  87.  
  88. Compiling UnderWorld is similar to all the programs in the book. You will
  89. need to include the game library files GPDUMB1.CPP|H and GPDUMB2.CPP|H in
  90. addition to the DirectX import libraries DDRAW.LIB, DINPUT.LIB, DINPUT8.LIB, 
  91. and DSOUND.LIB. Also, you'll need the Win32 Multimedia library WINMM.LIB. You should be able
  92. to find all the DirectX libraries in the DirectX SDK directories within the
  93. LIB\ sub-directory, and the WINMM.LIB library within your compiler's main
  94. library directories.
  95.  
  96.  
  97. That's it, so have fun!
  98.  
  99.  
  100.  
  101.