Terrain Shaping (at Runtime)
Author: | ShadowCaster
|
Submitted: | 3rd October, 2003
|
Views: | 6836
| Rated: |
|
|
People often ask if it is possible to create a "worms-style" game where you can alter the terrain during the game. This example shows you how to do this with a simple "space invaders" clone. The shields can be fired upon by both the player and the enemies to create holes which you can then shoot through. Likewise when the enemies reach the bottom of the screen they will create holes in the shield when they collide with it.
I've uploaded the game as two seperate files; those of you without MMF 1.5 that still want to check out this feature can download the EXE and have a go.
Code
http://www.create-games.com/shadowcaster/examples/terrain_code.zip
Executable
http://www.create-games.com/shadowcaster/examples/terrain_exe.zip
If something I did doesnt make sense, or if you need any further help, feel free to contact me.
~Mike
|
|
ShadowCasterPossibly Insane
Registered 02/01/2002
Points 2203
|