Basically I have this that runs at the start of the game:
for whatever reason it doesn't create these objects:
The world is big enough to see all of them in those positions (1600x900)
This worked before in a different file but doesn't now.. I don't understand what changed.
public void act() { if (gameStart == 0) { loadHome(); gameStart = 1; } }
public void loadHome() { Background_1 Background_1 = new Background_1(); getWorld().addObject(Background_1,800,450); Title Title = new Title(); getWorld().addObject(Title,800,185); Play Play = new Play(); getWorld().addObject(Play,800,400); Options Options = new Options(); getWorld().addObject(Options,800,600); Exit Exit = new Exit(); getWorld().addObject(Exit,800,800); Selection Selection = new Selection(); getWorld().addObject(Selection,800,400); homeLoaded = 1; }