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

#1 2011-10-14 11:49:19

haloman298
New Scratcher
Registered: 2011-09-03
Posts: 18

How do you make a title screen for a game?

All I want to do is create a screen at the beginning of a game that says to start the game when a "Start" button is clicked.  Also, how do you make all the sprites do nothing until the Start button is clicked?

Offline

 

#2 2011-10-14 11:53:23

Babado
Scratcher
Registered: 2011-09-15
Posts: 84

Re: How do you make a title screen for a game?

Make a background.

A sprite that has...

When Sprite start (Or whatever you call it) is clicked switch to Maingamebackground (or whatever it is)

You could then have it broadcast something, and then all the other sprites would wait for said broadcast to get there before starting there own scripts.

Offline

 

#3 2011-10-16 11:17:04

astroLoger
New Scratcher
Registered: 2011-10-16
Posts: 100+

Re: How do you make a title screen for a game?

I agree with Babado, do it with broadcasts. If you are still trying to get it done, I recommend hiding all your game sprites except for the title ones and then when the PLAY button is clicked, broadcast something to the game sprites telling them to start and hide the title screen.

Offline

 

#4 2011-10-16 11:37:16

littletonkslover
Scratcher
Registered: 2008-12-12
Posts: 1000+

Re: How do you make a title screen for a game?

use broadcasting


http://www.coxlab.org/images/rat_banner.jpg
That's the dark nature of capitalism. ~ Wonder Showzen

Offline

 

#5 2011-10-16 16:03:30

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: How do you make a title screen for a game?

Replace all your game-related-object's scripts that begin with "When Flag Clicked" to a broadcast receiver called something like "WhenPlayClicked"


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#6 2011-10-16 20:03:36

astroLoger
New Scratcher
Registered: 2011-10-16
Posts: 100+

Re: How do you make a title screen for a game?

You could also create a variable that is called something like begmenu and when the Flag is clicked, have it be set to 1 and use it the same way as a broadcast. Then have another variable like play and do the same when it is clicked, showing, hiding, and putting into action your different game mechanics.

Offline

 

#7 2012-04-19 10:43:50

SchofieldBro
New Scratcher
Registered: 2012-04-19
Posts: 1

Re: How do you make a title screen for a game?

Thanks Babado This Helped alot  smile

Offline

 

Board footer