A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Help with a scoring system.

Threaded View

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    5

    Help with a scoring system.

    Resolved!!!


    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.
    Last edited by Cralant; 11-22-2009 at 07:44 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center