Skip to content

Commit

Permalink
Modificamos cosas
Browse files Browse the repository at this point in the history
  • Loading branch information
UrielBove committed Oct 2, 2024
1 parent e814642 commit a061a52
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
File renamed without changes
Binary file removed assets/militar.png
Binary file not shown.
Binary file added assets/militarPrueba.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion example.wlk
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import wollok.game.*

object personajedefensor {
var property image = "militar.png"
var property image = "militarPrueba.png"
var property position = game.origin()

}

object enemigo{
var property image = "" //agregar imagen
var property position = game.origin()
}
6 changes: 3 additions & 3 deletions main.wpgm
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import example.*


program defenderBase {
game.height(8)
game.width(14)
game.boardGround("imagenDeFondo.png") //Agregar Imagen
game.height(9)
game.width(16)
game.boardGround("imagenDeFondo.jpg") //Imagen del fondo
game.addVisualCharacter(personajedefensor)
game.start()
}

0 comments on commit a061a52

Please sign in to comment.