Discuss Scratch

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
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.
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

MinecraftPro62 wrote:

you have to make the button a sprite and put this script
when this sprite clicked
switch backdrop to [Whatever you want v]
Thats! this was really helpful!
i_luv_unicorns
New Scratcher
1 post

how do you create the start button on a game

AngelKittyGirl wrote:

MinecraftPro62 wrote:

you have to make the button a sprite and put this script
when this sprite clicked
switch backdrop to [Whatever you want v]
Thats! this was really helpful!

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

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

puffy12 wrote:

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 clicked
switch backdrop to [ v]
It's simple!
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

Poseidoncraft64 wrote:

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
nothing happend
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:
s22441
Scratcher
1 post

how do you create the start button on a game

set pen color to [#ff0088]
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!

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.

Powered by DjangoBB