rickbatka / co-op-engine

A prototype engine for our planned co-op game. This is where we will make it work, make it network, and make it feel fun. No AI, level design, etc.
2 stars 0 forks source link

A tower that shoots a projectile #31

Closed reddenx closed 10 years ago

reddenx commented 10 years ago

Needs:

Bonus

rickbatka commented 10 years ago

Tons of work done to support this, really basic dumb arrow tower implemented (press Y to spawn).

Still to do:

reddenx commented 10 years ago

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).

rickbatka commented 10 years ago
reddenx commented 10 years ago

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 .

rickbatka commented 10 years ago

That makes sense.

reddenx commented 10 years ago

I think this is pretty much done? all req met.