Game Development Reference
In-Depth Information
The following screenshot shows the final script:
Objective complete - mini debriefing
We have gone over the exising scripts in Game Manager to handle staring a game,
staring and ending a level, and inally, coniguring a level.
Adding levels - three simple steps
If you have not done so, test the current code. If you are a good gamer, you should ace this
and inish both levels in no ime. To make the game harder to beat and more interesing,
let's add two new levels using Monster and Robot.
Prepare for lift off
For each game level, there are diferent enemy types, enemy counts, and level imeouts.
The enemy type is the name of the enemy sprite, enemy count is the number of enemies to
create, and the level imeout is the maximum ime each level lasts. The level can move up
before the level imeout if enough enemies are eliminated.
Search WWH ::

Custom Search