summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1960484)
When the player died, the healthbar showed some HP value which
confused some players (some of them didn't realize that they died).
modified: ld40.js
+ kill() {
+ this.health = 0;
+ this.healthBar.update(this.love, this.maxHealth, this.health);
+ super.kill();
+ }
+
loveUp() {
this.love++
this.maxHealth += this.love;
loveUp() {
this.love++
this.maxHealth += this.love;