I have a drag and drop game, which keeps score. However when the last picece it dropped I want to display a congratulations of some kind how do i do that? Here is the sorce code MX.
Thanks,
Casey Havenor
I have a drag and drop game, which keeps score. However when the last picece it dropped I want to display a congratulations of some kind how do i do that? Here is the sorce code MX.
Thanks,
Casey Havenor
Well… You can keep track of all the pieces in your movie…
And when all of the pieces have been dropped or when your objective is met… You can have the movie go to and play someplace else that states whether you win or lose.
gotoAndPlay(“win”);
gotoAndPlay(“lose”);
Each will display a certain message and can contain a button that can allow you to restart a new game and what not
playamarz :player:
I understand that I need to GotoAndPlay somewhere I just don’t know how to code it? Like does anyknow of an example…
if score =9 then gotoandplay(2)???
Hi Chavenor,
You said in your post that your movie was in MX, however, your code appears to be in Flash 4, I have converted it to MX for you and given you the finish that you ask for, unfortunately I have not had the time to make copious notes, so if there is anything you do not understand, just ask here.
Hope it is what you want and that it helps
Cheers
SteveD
:: Copyright KIRUPA 2024 //--