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

#1 2012-05-26 18:25:39

masheenpro
New Scratcher
Registered: 2012-05-26
Posts: 4

help with main menus

ok so you know how games have main menus that say start, intructions and stuff like that
well im trying to make a good game but here is what happens
i have my main menu done, i add another background and all the sprites i used for the main menu are somehow in my 2nd background, does anyone know how i can fix this?

Offline

 

#2 2012-05-27 00:31:55

silvershine
Scratcher
Registered: 2010-11-21
Posts: 500+

Re: help with main menus

From what it sounds like, the sprites you used in your menu aren't being hidden. Try using a script like this when an item on the menu is clicked:

When [menu option] clicked
broadcast [hide menu v]
Then in all of the menu sprites, including the one you just added a script to, add these two scritps:

When I receive [hide menu v]
hide
when gf clicked
show

Last edited by silvershine (2012-05-27 00:32:28)

Offline

 

#3 2012-05-27 01:09:55

masheenpro
New Scratcher
Registered: 2012-05-26
Posts: 4

Re: help with main menus

where is the when the menu option clicked control i can't find it

Offline

 

#4 2012-05-27 04:36:25

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: help with main menus

masheenpro wrote:

where is the when the menu option clicked control i can't find it

Create a sprite with the name 'menu option'.


http://trinary.tk/images/signature_.php

Offline

 

#5 2012-05-27 13:08:31

masheenpro
New Scratcher
Registered: 2012-05-26
Posts: 4

Re: help with main menus

how do you rename sprites so there not sprite 1?

Offline

 

#6 2012-05-27 15:56:27

GoldSnail
New Scratcher
Registered: 2012-05-26
Posts: 6

Re: help with main menus

How do I make a main menu with all of the buttons: levels, start, and stuff? Also, when you press the levels button, how does it bring you to that level?

Offline

 

Board footer