Handles loading and posting of high scores and scoreboards.
Categories > Newgrounds.io > rex_ngio_scoreboardIntroductionLinksDependenceUsagePrepareManage boardsGet boardsPost scoreGet score
Put rex_ngio_authentication into project, and set property App id and AES key.
Mange boards in dashboard, API Tools, Scoreboards.
Action:Get boards
Callback
Success : Condition:On get boards
Expression:BoardsAsJSON
Expression:BoardsCount
Condition:For each board
Expression:CurBoardNameExpression:CurBoardIDExpression:LoopIndex, index in this for each loopGet board by index
Expression:Index2BoardName( index )Expression:Index2BoardID( index )Error : Condition:On get boards error
Expression:ErrorMessageSet board ID
ID, orAction:Set board IDExpression:BoardIDAction:Post score
Tag for querying scores (optional)
TagAction:Set tagExpression:TagCallback
Success : Condition:On post score
Error : Condition:On post score error
Expression:ErrorMessageSet board ID
ID, orAction:Set board IDExpression:BoardIDRequest scores
By start index
Action:Request in a rangePage by page
Action:Turn to page
Action:Update current page
Action:Turn to next page
Action:Turn to previous page
Page properties:
Expression:PageIndex, current page indexLines : lines of each pagePeriod, time-frame (optional)
Property Period
Action:Set period
Action:Set period by code
D : current dayW : current weekM : current monthY : current yearA : all-timeExpression:Period
Tag for querying scores (optional)
TagAction:Set tagExpression:TagCallback
Success : Condition:On get scores
Expression:ScoresAsJSON
Expression:ScoresCount
Expression:StartIndex
Condition:For each score
Expression:CurUserNameExpression:CurUserIDExpression:CurFormattedValuexpression:CurValueExpression:LoopIndex, index in this for each loopGet score by index of current received scores
Expression:Index2UserName( index )Expression:Index2UserID( index )Expression:Index2FormattedValue( index )Expression:Index2Value( index )Error : Condition:On get scores error
Expression:ErrorMessage