|
Advanced Features: In addition to the basic functionality described above, the following advanced features were implemented: - On-screen control panel: In each of the three views,
your shield, current score, and number of fuel cells left are rendered in a HUD (head's up display).
Also, rendered is a radar screen showing how the enemy tanks, missiles, fuel cells, are oriented in relation to you. In the radar screen, your tank is always in the center pointing up and everything moves in relation to you. This feature is necessary because in the first person view, you need to know what is going on outside your field of vision.
- Artificial Intelligence: Each of the enemy tanks in the game have heuristics programmed in to evaluate what course of action to take based on the current game situation. For example, an enemy tank might try to
acquire a fuel cell if it is closer to it than your tank. Later on, as conditions change, it might decide to attack your tank if it is deemed more feasible. Also programmed in to the enemy tanks are the concepts of
what to do if it hits an obstacle and plotting a way out of the arena once it has obtained a fuel cell. - Collision Detection: Simple distance checks between centers of objects are used for collision detection.
Collision will be detected between tanks, missiles, and fuel cells. - Sound: Rudimentary sound was added so that when your cannon fire, it plays the cannon sound .wav file.
|