I'm having a little problem. When I test my game the score doesn't seem to go to the scoreboard. I didn't use much code. Just the stuff from the start...
- Create an Empty GameObject (Ctrl+Shift+N)
- Select the new GameObject and rename it to "Newgrounds.io Object" from the Inspector panel.
- While still on the Inspetor panel, click the 'Add Component' button.
- Select Scripts -> io.newgorunds -> Core
- Fill in the App_id and Aes_base64_key properties with the values found in the 'API Tools' section of your Newgrounds.com project.
and this code to send the highscore...
public void SubmitScore(int id, int value)
{
io.newgrounds.components.ScoreBoard.postScore submit_score = new io.newgrounds.components.ScoreBoard.postScore();
submit_score.id = id;
submit_score.value = value;
submit_score.callWith(ngio_core);
}
Is there something I'm missing? I checked and the game is connecting when I start the game. I'm also not getting any errors.