Tim2othy / spacegame

2 stars 1 forks source link

Ship Damage Color #12

Closed lumi-a closed 3 months ago

lumi-a commented 3 months ago

The player-ship used to glow red on impact. This can be reimplemented. I'd suggest that we even create a new method Ship.suffer_damage(self, damage: float) that's used for all damage-control (so also when it gets hit by enemies' bullets). The red glow can be done with Pygames' Color.lerp instead, to achieve a nice fading red effect, rather than a sudden start and stop.