Graphics Reference
In-Depth Information
The UI gameObject has a script named UI_LBS.cs attached to it. It refers to
◾
GAMEOVER_GRAPHIC gameObject
⦁
GETREADY_GRAPHIC gameObject
⦁
13.2 Prefabs
The prefabs that make up the game are as follows:
PLAYERS
◾
Ta n k
⦁
A I _Ta n k
⦁
PROJECTILES
◾
Tank_StandardFire
⦁
WEAPONS
◾
TankProjectileBlaster_Player
⦁
TankProjectileBlaster_Enemy
⦁
13.3 Ingredients
The game uses these ingredients:
1.
Game Controller—The game controller script for this game derives from
BaseGameController.cs
2.
Battle Controller—Each player has a battle controller script attached to it, which
holds information relevant to its battle stats (number of frags/number of times
fragged, etc.). To be clear, a frag is a hit. When the player is destroyed, it counts as
a frag.
3.
Global Battle Manager—The global battle manager talks to all of the player's battle
controllers and tracks global information on the state of the battle, such as player
battle positions and whether or not the battle is still in progress.
4.
Vehicles (tanks):
a.
Main player
b.
AI opponents
5.
Scene Manager