Hi, I am back with question 2 of 2 million!!!
I have made the level code work as I want thanks to the help from members on here but I am having an issue changing the world's background image.
Usually I would do something like this for an actor.
If I tried the same thing in the world I get errors. cannot find symbol - method setImage (java.lang.String).
I am guessing I would need to say something on the lines of setbackgroundImage but I am not sure.
Thanks in advance :)
mainwindow fighterWorld = (mainwindow)getWorld();// create a specific world name for mainwindow if (fighterWorld.level == 1) //if the level is 1 { setImage("bp1.png"); //set image as bad plane 1 }