I am making game and i am only new to greenfoot. So i have done everything for the game, but i want to make a main menu. Can someone pl help me with that..thanks
My UserInfo Jumbo Maze Demo scenario has a menu and shows the code for the main world sub-class and the menu world subclass. It it fully documented so you can follow what each step does. The 'act' method of the Maze world is near the end of the class code; that is where I set active a new menu world. My Menu world has extra stuff within it, but like I said, it is fairly well documented; and pulling what you need should not be too difficult. You can always post your code and ask here if an when you come across any problems.
In you wish to start with the menu first in your scenario, just instantiate it and set it active from the constructor of your main world.
I did not say to download it. Run the scenario on the site and press the 'm' key for the menu. The two lower buttons labeled 'Maze' and 'Menu' will display the codes for those two classes.