joshheinrichs / cmpt306-project

A procedural generated dungeon crawler built in Unity.
0 stars 1 forks source link

Turret #3

Closed joshheinrichs closed 8 years ago

joshheinrichs commented 8 years ago

The turret should shoot a Fireball at the player. The Fireball should expire after some period of time, or on collision. You shouldn't edit the Fireball prefab to make it expire, since it's being used for other prefabs such as the OrbitBar. You could try attaching some sort of expiry and collision destroy scripts when you instantiate it or something.

knames commented 8 years ago

Implemented this. Turrets can rotate, and fire straight, or they can opt to not rotate, instead placing the projectile on the path to hit the player. Still need to implement heat seeking projectile.

knames commented 8 years ago

oh yes, this was the branch it was implemented in https://github.com/joshheinrichs/cmpt306-project/commit/0e97b702b0774140b71be06eed63d6171cd7e6c2