I am setting up a very simple example of Wollok Game, based on the documentation :
This is my game.wpgm
import pepita.*
import wollok.game.*
program PepitaGame {
// CONFIG
game.title("Pepita")
game.height(10)
game.width(10)
// VISUALES
game.addVisual(pepita)
// START
game.start()
}
And here pepita.wlk
object pepita inherits PersonajeAnimado {
var posicion = game.at(3,3)
method imagen() = "pepita.png"
}
I run the program, I see the board correctly, but my object is not there.
My file structure is:
proyecto
|_src
|__game.wpgm
|__pepita.wlk
|_assets
|__pepita.png
If I change the name of the file to another (which does not exist), the object with the Wollok logo appears.
I think he recognizes the file, because he does not show me the Wollok logo, but I do not understand why he does not show it.