updated hero

This commit is contained in:
Michael Elliot Braun
2016-03-31 18:16:03 -07:00
parent 3774b705a2
commit e0da743cb4
3 changed files with 76 additions and 15 deletions

View File

@ -56,9 +56,9 @@ basic.forever(() => {
}
if (eggY1 == 4) {
if (basketX1 == eggX1) {
game.addScore(1) // ***
game.addScore(1)
} else {
game.removeLife(1) // ***
game.removeLife(1)
}
}
basic.pause(300)
@ -142,7 +142,7 @@ basic.forever(() => {
game.removeLife(1)
}
}
basic.pause(fallingPause1) // ***
basic.pause(fallingPause1)
})
```