I'm a beginner coder so I'm extremely sorry if this is a rookie mistake!
I need to hand this in in like 3 days so it would be extremely helpful if anyone can help me!
My code looks like this :
super(500, 350, 1);
start2 secondstart2 = new start2();
addObject(secondstart2,318,395);
player1 player1 = new player1();
addObject(player1,165,152);
player2 player2 = new player2();
addObject(player2,454,149);
langa langa = new langa();
addObject(langa,84,273);
langb6 langb6 = new langb6();
addObject(langb6,454,149);
langb56 langb56 = new langb56();
addObject(langb56,454,149);
langb5 langb5 = new langb5();
addObject(player1,454,149);
}
}
however, none of the objects would show up on my scenario.
Another problem :
This is the code for my background (world scenario)
also, I have a start button for my scenario, which starts like this :
if (Greenfoot.mouseClicked(start));
getWorld().setBackground(new GreenfootImage("background2.png"));
However, as soon as I click run on the greenfoot scenario, the scenario changes to background2.png without the start button being clicked and the start button just stays on the second page; not disappearing while the other buttons won't show up.
please help! thank you!

