Skip to content

Commit

Permalink
teleport: sube y baja
Browse files Browse the repository at this point in the history
  • Loading branch information
lefo777 committed Oct 1, 2024
1 parent 6ab92a9 commit 10f59dc
Show file tree
Hide file tree
Showing 3 changed files with 470 additions and 2 deletions.
5 changes: 4 additions & 1 deletion dinoGame.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ object dino {
method image() = "dino.png"

method saltar(){
//COMPLETAR
self.subir()
game.schedule(reloj.tiempo() + 100, {self.subir()})
game.schedule(reloj.tiempo() + 150, {self.bajar()})
game.schedule(reloj.tiempo() + 250, {self.bajar()})
}

method subir(){
Expand Down
Loading

0 comments on commit 10f59dc

Please sign in to comment.