0
Hello, I am trying to program in java with the Jplay framework, and I am finding an error that was non-existent on another pc that I had. The error step is found in this video lesson: https://www.youtube.com/watch?v=ntDvADUoMs8
game class code:
package jogo;
import jplay.GameImage;
import jplay.URL;
import jplay.Window;
public class Main {
public static void main(String[] args) {
Window janela = new Window(800,600);
GameImage plano = new GameImage(URL.sprite("menu.png"));
while(true){
plano.draw();
janela.update();
}
} }
The error is the background image that does not render. I am using version 1.8 of java. I hope friends can help me solve this little problem of "gray screen".