zeOxx / StudentGame

A continuation of the previous repo (https://github.com/zeOxx/Perihelion)
4 stars 1 forks source link

Shooting and damage on units. #18

Closed snorrewb closed 11 years ago

snorrewb commented 11 years ago

This needs to be done.

snorrewb commented 11 years ago

Enemies now get hit. This needs to be rewritten so that damage is done instead of just removing assets. I will do this.

snorrewb commented 11 years ago

Enemies and Collidables now get destroyed if they take enough damage from the player. Does not work perfectly, and might be related to per-pixel collision detection being off. I also had one crash, but I am unable to reproduce it. Please advise.

snorrewb commented 11 years ago

We still need to implement damage to the player, but that is rather simple once this works correctly.

Getters and setters in PhysicsEngine need to be rewritten.

snorrewb commented 11 years ago

No longer bugged, thanks to Simen. Player now gets hit, but currently takes no damage.