team-alembic / lambdajam-blast

Blast: An Asteroids clone written in Elixir and Phoenix LiveView
10 stars 1 forks source link

Collisions with your own projectiles cause no damage #4

Closed freshtonic closed 5 years ago

freshtonic commented 5 years ago

I'm not sure why this happens. The collision is detected because the projectile is destroyed as soon as it hits the fighter. But the integrity update does not happen. It's strange because the game logic for collisions does not distinguish between friendly and enemy fire.

freshtonic commented 5 years ago

Fixed.