Closed snorrewb closed 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.
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.
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.
No longer bugged, thanks to Simen. Player now gets hit, but currently takes no damage.
This needs to be done.