Well that's the easy verson, but if you do it like this: http://ia360634.us.archive.org/1/items/AskVatneBreanScratch_advancedbutton/Bilde2.png, you can even hold i t down as long as you wish before you release it and the action is started.
This is just an example of how to make a start button. It uses two sprites - one for the button, and another random one to do something when the button is pressed. Basically when the button is pressed a broadcast is sent out (I named it "startGame"). Any scripts in the project "receiving" the "startGame" broadcast will then run. You could hide the button then, but I never bothered to here.
This project is an example showing how a project can be started using a start button and broadcasting. Press the Flag to reset, and press the button to see how things like a game COULD be started
Comments
You need to be logged in to post comments
Add a Comment
cool
(view all replies)Comment Reply
Nice Brean!
(view all replies)Comment Reply
Well that's the easy verson, but if you do it like this: http://ia360634.us.archive.org/1/items/AskVatneBreanScratch_advancedbutton/Bilde2.png, you can even hold i t down as long as you wish before you release it and the action is started.
(view all replies)Comment Reply
Check out my newest project tour of Mc.Donalds 2.0
(view all replies)Comment Reply
lol is that cheese cake or something?i like it
(view all replies)Comment Reply
this is strangley entertaining!!!
(view all replies)Comment Reply
Nice it could be useful! ^_^
(view all replies)Comment Reply
This is just an example of how to make a start button. It uses two sprites - one for the button, and another random one to do something when the button is pressed. Basically when the button is pressed a broadcast is sent out (I named it "startGame"). Any scripts in the project "receiving" the "startGame" broadcast will then run. You could hide the button then, but I never bothered to here.
(view all replies)Comment Reply