Help with a scoring system.
Resolved!!!
:confused::confused::confused::confused::confused:
I have been working on a flash game for quite some time now and i want to add a scoring system at the end.
I have a dynamic text box that shows the final score which has no problems allthough i tried to make another text box that gives you your 'rank'.
what i mean by this is lets say you score between 1 and 100 points the text box shall say 'you were crap' and if you got between 101 and 200 points it would say 'Dont quit your day job' and so on and so forth. but...
i have no idea on how i can do this so i come asking for flashkits scripters to help me.
my coding is this (goes on the layer):
Code:
txtFinalScore.text = 'Final Distance: '+score +' Meters';
txtFinalRank.text =
the txtFinalScore is the final score you get and the txtFinalRank you get is the speach.
Also because i dont want to go on forever iwould like it to say something like 'You are Dino Raptor Jesus' if you get a score of over lets say 10000 that way i can leave it like that and not have to add millions of 'ranks'.
Thanks in advance im using Adobe Flash CS4 with ActionScript 2.
Cralant.