Skip to content

Commit

Permalink
modifico la posicion donde aparecen los obstaculos asi pueden colisio…
Browse files Browse the repository at this point in the history
…nar con el dino

en la clase Obstaculo la coordenada en x de la posicion cambia de "game.width()" a "game.width()-1"
  • Loading branch information
joaquin-burgio authored Nov 9, 2024
1 parent 812603c commit 02e4c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ object generadorDeNada {
}

class Obstaculo {
var property position = game.at(game.width(), self.posY())
var property position = game.at(game.width()-1, self.posY())
var property image
const valores = [0, 4, 8]

Expand Down

0 comments on commit 02e4c6e

Please sign in to comment.