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

Browse Sections

Newgrounds Wiki: loadScores


import com.newgrounds.API;
API.loadScores(board_name:String, period:String, tag:String);
  • board_name - The name of the scoreboard you are posting to.
  • period - The time period to look up. This should be a ScoreBoardPeriod constant.
  • tag - Optional. Only scores with this tag will be returned.

This command will load the top 10 scores for the requested scoreboard/period/tag combination.

This command will trigger a SCORES_LOADED event.