Skip to content

Commit

Permalink
cambios menores
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanter134 committed Oct 16, 2024
1 parent f8509da commit 250a9bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions entorno.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Visual {
const property image
}

const cartelAtaque = new Visual (position = new Position(x=10, y=20), image = "celda_gris.png")
const cartelAtaque = new Visual (position = new Position(x=17, y=20), image = "celda_gris.png")


// =============================================== BOSSFIGHTS ===============================================
Expand Down Expand Up @@ -79,4 +79,4 @@ class JefeInteractuable{
}
}

const jefeDePrueba = new JefeInteractuable(position = new Position(x=16, y=2), image = "celda_roja.png")
const jefeDePrueba = new JefeInteractuable(position = new Position(x=30, y=2), image = "celda_roja.png")
4 changes: 2 additions & 2 deletions main.wpgm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ program MorcillaGame {
game.title("La Bizarra Aventura de MORCILLA")
game.boardGround("stock_fondo.jpg")
game.height(32)
game.width(32)
game.width(33)
game.cellSize(100)

game.addVisual(jefeDePrueba)
Expand All @@ -19,7 +19,7 @@ program MorcillaGame {
keyboard.a().onPressDo({ morcilla.caminarIzquierda(1) })
keyboard.space().onPressDo({ morcilla.saltar(1000) })

keyboard.l().onPressDo({ game.boardGround("arena_de_jefe.png") })
keyboard.l().onPressDo({ game.removeVisual("stock_fondo.jpg") })

keyboard.j().onPressDo({ bossFightDePrueba.iniciarPelea() })

Expand Down
2 changes: 1 addition & 1 deletion morcilla.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ object morcilla {

method posicionDeAtaque() {
movimientoActivo = false
position = new MutablePosition (x=16, y=2)
position = new MutablePosition (x=17, y=2)
}

method activarMovimiento() {movimientoActivo = true}
Expand Down

0 comments on commit 250a9bd

Please sign in to comment.