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

#1 2008-08-19 06:48:08

alph
Scratcher
Registered: 2008-08-15
Posts: 2

How to make a game menu?

Hey there.
We're a team at school doing a game project, due this Thursday.
I'm working on the game menu, with 3 buttons: "Start game", "How to play" and "Credits".

What I'm wondering is how to get the buttons clickable, and when they are clicked the screen either starts the game, or show the "How to play" or "Credits" pages.

Should be fairly simple, I guess?

Offline

 

#2 2008-08-19 08:41:48

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: How to make a game menu?

Simple  smile . You need to broadcast messages. For instance:

If your Play button is pressed, it will broadcast play
Now make everything react to that like a background change, other buttons hiding, stuff like that.


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#3 2008-08-19 10:49:42

SonicPopsDad
Scratcher
Registered: 2008-07-30
Posts: 41

Re: How to make a game menu?

You could use my game skeleton as an example... http://scratch.mit.edu/projects/SonicPopsDad/235092

Offline

 

#4 2008-08-19 13:01:09

catowner
Scratcher
Registered: 2008-06-30
Posts: 51

Re: How to make a game menu?

replace all when green flag clicked blocks with when I recieve broadcast(start) blocks. make a sprite button with start written on it and a background with instructions. make it so when the green flag is pressed the sprite shows. make it so when it is clicked it broadcasts start and when it recieves start it hides, and the background switches to the game background.


there are 3 kinds of people: those who are good at math and those who are good at speling.

Offline

 

#5 2010-05-16 06:03:19

mudkipzarecool
Scratcher
Registered: 2010-05-12
Posts: 1

Re: How to make a game menu?

How do you create a starter menu for a game, in English!

Offline

 

#6 2010-05-16 06:38:17

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: How to make a game menu?

The same way as was previously described...

Also, please don't bump old topics - you can always create your own.  smile


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

Board footer