Skip to content

Commit

Permalink
elimine flags para saber si detectaban los
Browse files Browse the repository at this point in the history
fantasmas las colisiones
  • Loading branch information
NahuelMarek committed Oct 5, 2024
1 parent f8760a2 commit c99f229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zombie.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ class ZombiesNormales {
const fantasma = new Fantasmas(position=posicionFantasma)
game.addVisual(fantasma)
if (fantasma.colision()){
game.say(self,"verdadero")

self.moverse(false)
game.removeVisual(fantasma)
}
else {game.removeVisual(fantasma)
game.say(self,"falso")}
}
}
var property danio = 1

Expand Down

0 comments on commit c99f229

Please sign in to comment.