WWPOL / Earth-Invader

WWPOL entry for JS13K. Play it here >>>
http://wwpol.github.io/Earth-Invader
1 stars 1 forks source link

Shield is never drawn as zero, even though player's .shield hits 0 #6

Closed liboan closed 10 years ago

liboan commented 10 years ago

When shield hits 0 it stops regenerating but for some reason there is a bit of a blue bar left and the text on the bar never switches to "Shields down!"

liboan commented 10 years ago

fixed up some faulty logic