This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-07-16 17:01:36

Jenn1_2
New Scratcher
Registered: 2011-07-12
Posts: 2

HELP!!!! need help creating a main menu

trying to create a main menu screen that will allow users to click on a sprite and be directed to different mini games.  Anyone know how to do it?

Offline

 

#2 2011-07-16 17:38:34

hdarken
Scratcher
Registered: 2008-06-26
Posts: 1000+

Re: HELP!!!! need help creating a main menu

You would script it so that the once you click on a mini game you would make the buttons on the menu disappear and show the mini game.


http://i.imgur.com/VskBk.png
http://i.imgur.com/tgxVZ.jpg

Offline

 

#3 2011-07-16 20:03:15

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: HELP!!!! need help creating a main menu

Basically, you'll have scripts like these on each button:

Code:

When green flag clicked
show

when sprite clicked
broadcast [hide]
broadcast [game name]

when I receive [hide]
hide

Then in your sprites related to each game, you'll have scripts that tell them to start the game and do whatever they need to do when they receive the broadcast. (Which will be the name of whatever the game they're related to is.)


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer