Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do you create the start button on a game
- puffy12
-
Scratcher
8 posts
how do you create the start button on a game
i need to know how to:
make the start button change colours when mouse is hovering over it
make the game start when button clicked
Thanx
make the start button change colours when mouse is hovering over it
make the game start when button clicked
Thanx
- powerpoint56
-
Scratcher
1000+ posts
how do you create the start button on a game
To make the button change color when the mouse is hovering over it, try this script.
To make the game start, use the broadcast blocks (in the Events category). Try something like this.
To make the game start, use the broadcast blocks (in the Events category). Try something like this.
- robomouse
-
Scratcher
8 posts
how do you create the start button on a game
If touching mouse change costume can also work with different colored costumes.
- MinecraftPro62
-
Scratcher
9 posts
how do you create the start button on a game
you have to make the button a sprite and put this script
when this sprite clicked
switch backdrop to [Whatever you want v]
Last edited by MinecraftPro62 (Jan. 4, 2014 23:41:03)
- AngelKittyGirl
-
Scratcher
2 posts
how do you create the start button on a game
you have to make the button a sprite and put this scriptThats! this was really helpful!when this sprite clicked
switch backdrop to [Whatever you want v]
- i_luv_unicorns
-
New Scratcher
1 post
how do you create the start button on a game
you have to make the button a sprite and put this scriptThats! this was really helpful!when this sprite clicked
switch backdrop to [Whatever you want v]
We did that but because we are making the game for young children, we need to make the instructions in audio. So to do this we need to put the audio before the ‘When sprite is clicked’ button. Can anyone help??
- fordrocks
-
Scratcher
73 posts
how do you create the start button on a game
you could make two when sprite clicked scripts (one to change backround and 1 to play music), e.g
and then
also if you want the instructions to play when you hover the mouse pointer on it then use this (scripts are in the start button)
if these are not what you are looking for then please reply and tell me what you do want.
when this sprite clicked
play sound [instructions v]
and then
when this sprite clicked
switch backdrop to [whatever you want v]
also if you want the instructions to play when you hover the mouse pointer on it then use this (scripts are in the start button)
when green flag clicked
forever
if <touching [mouse pointer v] ?> then
play sound [instructions v] until done
end
end
if these are not what you are looking for then please reply and tell me what you do want.
Last edited by fordrocks (Sept. 2, 2014 08:28:02)
- herobrinepig123
-
Scratcher
31 posts
how do you create the start button on a game
i need to know how to:
make the start button change colours when mouse is hovering over it
make the game start when button clicked
Thanx
Hm. try using…
when this sprite clickedIt's simple!
switch backdrop to [ v]

- Poseidoncraft64
-
Scratcher
15 posts
how do you create the start button on a game
here if you wanna make an AWESOME game, then do this script:
when green flag clicked
forever
if <<touching [mouse pointer] ?> and <<mouse down?> >> then
switch costume to [Clicked]
broadcast [Start]
if <<touching [mouse pointer] ?> and <<not <mouse down?>> >> then
switch costume to [hover]
if <<not <touching [ v] ?>> and < >> then
end
end
end
end
- charmander5443
-
Scratcher
1 post
how do you create the start button on a game
THNX my friend wouldn't help me!!!
- t0xicINK
-
Scratcher
6 posts
how do you create the start button on a game
here if you wanna make an AWESOME game, then do this script:nothing happendwhen green flag clicked
forever
if <<touching [mouse pointer] ?> and <<mouse down?> >> then
switch costume to [Clicked]
broadcast [Start]
if <<touching [mouse pointer] ?> and <<not <mouse down?>> >> then
switch costume to [hover]
if <<not <touching [ v] ?>> and < >> then
end
end
end
end
- 40043--
-
New Scratcher
1 post
how do you create the start button on a game
IT HELPS!!!!!!!!THANKS!



























move () steps
- jayjay44
-
New Scratcher
1 post
how do you create the start button on a game
when this sprite clicked
broadcast [ v] and wait
broadcast [ v] and wait
- scastillo2003
-
Scratcher
2 posts
how do you create the start button on a game
I dk what to do i did this and nothing worked: 

- katchyboo
-
Scratcher
17 posts
how do you create the start button on a game
how do you start the game again with a sprite?
- nickerpiggy
-
Scratcher
65 posts
how do you create the start button on a game
try this!
when green flag clicked
forever
if <touching [ mouse pointer v] ?> then change color effect by (25)
if <not <touching [mouse pointer v] ?>> then set color effect to (0)
end
- Withered_Fire
-
Scratcher
5 posts
how do you create the start button on a game
try this
when [ v] key pressed
- Shohgames
-
Scratcher
3 posts
how do you create the start button on a game
TRY THIS ONE!
This scripit says if MOUSE POINTER TOUCHES START BUTTON than switch costume to (aghaighadhd9d) ,
but if not switch costume to (alspdk@aosdkcsacscskol)























































when green flag clicked
forever
if <mouse down?> then
switch costume to [ aghaighadhdi9d]
end
if <not <mouse down?>> then
switch costume to [ alspdk@aosdkcsacscskol]
end
end
This scripit says if MOUSE POINTER TOUCHES START BUTTON than switch costume to (aghaighadhd9d) ,
but if not switch costume to (alspdk@aosdkcsacscskol)
























































- deck26
-
Scratcher
1000+ posts
how do you create the start button on a game
Please check the data before posting - this topic is old.
- Discussion Forums
- » Help with Scripts
-
» how do you create the start button on a game