I'm still working on my school project (might as well announce it in Show and Tell), and I wanted to know if I could make a menu for my movie. Unfortunately, I don't know how to program one. Can anyone show me how?
Offline
First of all, make a background, and have it show when the project starts, then make a button, and have the text on it read "Play" or "Start", and have a code similar to this:
When Green Flag Clicked
Show
Go to Front
When Button Clicked
Broadcast Play
Hide
And then for the background, add this script:
When Green Flag Clicked
Show
When I Receive Play
Hide
And then for your animation, replace the When Green Flag Clicked or however you have it be activated with a When I Receive Play.
If yo have any questions, go ahead and ask.
Offline
Can you be more specific with the buttons and blocks?
Offline
Here: Make a button sprite named "Play" and add this code to it:
[blocks]
<when[ Play ]clicked>
<broadcast[ Play
<hide>
<when green flag clicked>
<show>
<go to front>
[/blocks]
Then add a sprite named "Bg" and add this code to it:
[blocks]
<when green flag clicked>
<show>
<go back( 1 )layers>
<when I receive[ Play
<hide>
[/blocks]
That help you out at all?
~Spine
Last edited by -Vizard- (2009-10-07 01:30:32)
Offline
Well, I can help two people in one post now! =P
Those are 1 sec scripts for me, so it wasn't much work, and once you know it it's easy, so glad it helped ya out, now I just gotta wait for masterhand to reply =S
~Spine
Offline
Thanks, Vizard! I'm going to include you in my credits!
Offline