00:00
00:00

Our goal is for Newgrounds to be ad free for everyone! Become a Supporter today and help make this dream a reality!

Newgrounds Wiki: Score

  • Package: com.newgrounds
  • Class: Score
The Score class describes a user-submitted score on a ScoreBoard.

Methods

These are the methods of Score.

toString

public function toString():String
  • Returns
    • String

      Properties

      These are the properties of Score.

      numericValue

      public var numericValue:Number;
The numeric value of the player's score, used for sorting.

rank

public var rank:uint;
The position of this score on the ScoreBoard. The best score has a rank of 1.

score

public var score:String;
A user-readable score, for display to the user.

tag

public var tag:String;
The tag stores developer-defined metadata that can be stored with a score.

username

public var username:String;
The name of the player who submitted this score.