00:00
00:00
Newgrounds Background Image Theme

Jmurr12 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!

Browse Sections

Newgrounds Wiki: loadScores

Usage

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.