Closed reddenx closed 10 years ago
Tons of work done to support this, really basic dumb arrow tower implemented (press Y to spawn).
Still to do:
how about instead of killing them on hit universally, we have them handle their hit based on a one of their components, that way we don't have to refactor when we implement projectiles that can fly through things (like a cannonball, ballista shot, I dunno).
I'd recommend not making it a child, for 2 reasons, it is no longer associated with the tower in any way, child objects have the same lofe scope as their parents, meaning killing a tower would make all thr flying arrow disappear, depending on implementation. We could instead have a projectile physics that flies without friction checking it's damage dots and doing it'a thing on collision, probably based on its brain. On May 22, 2014 10:05 PM, "Rick Batka" notifications@github.com wrote:
- addt'l task: make the arrow that flies out of the tower a single child gameobject of the tower, instead of the empty game object with weapon that we have going on now.
— Reply to this email directly or view it on GitHubhttps://github.com/rickbatka/co-op-engine/issues/31#issuecomment-43971629 .
That makes sense.
I think this is pretty much done? all req met.
Needs:
Bonus