00:00
00:00
Newgrounds Background Image Theme

DoctorSpectre just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

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.