-
Varying endings with different scores
Well, I tried looking for an answer for this all over the place but it seems that it just isn't there, so if it is, sorry for asking a question already asked.
I am right now trying to get this solved. I am building an arcade game on flash, and I still can't figure out how is it that people tell their program to go to 'game over' when the score is below a set number and to go to the next level when the score is above that number.
Could someone tell me please?
-
FK'n_dog
i assume you are updating the score with -
if(action==add2score){scoreVariable+=10;}
in the endgame frame, send the timeline to a labelled frame dependant on scoreVariable -
if(scoreVariable >= 1000){
gotoAndPlay("nextLevel");
}else{
gotoAndPlay("gameOver");
}
any help ?
-
Thanks a lot! It worked
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|