What do you think is the best overall strategy when incorporating hiscore via your base API?
Should I just wait till it is time to submit a score (game over) and then call SubmitScore. If it gets submitted ok the I just go back to the title screen. But if I get the result NOT_LOGGED_IN , then I could make a call to LOGIN and then submit the score.
The only problem is that if someone plays the game from a different website and when the game is over the LOGIN dialogue would just pop up. They probably wouldn't understand why the dialogue (which just says LOGIN and mentions Nonoba Payment) has popped up.
And as far as I can see they don't get a chance to actually sign up for a new account from that dialogue, they can only log in as an existing user or exit the dialogue.
The only thing I can think of is that if I detect that the user isn't signed in, then I could pop up my own dialogue box and give them the options of signing in as an existing user, or opening up a seperate browser window so they can sign up for an account, or to quit without submitting a score.
gwdx sagði
fyrir löngu síðan | Færsla #1Should I just wait till it is time to submit a score (game over) and then call SubmitScore. If it gets submitted ok the I just go back to the title screen. But if I get the result NOT_LOGGED_IN , then I could make a call to LOGIN and then submit the score.
The only problem is that if someone plays the game from a different website and when the game is over the LOGIN dialogue would just pop up. They probably wouldn't understand why the dialogue (which just says LOGIN and mentions Nonoba Payment) has popped up.
And as far as I can see they don't get a chance to actually sign up for a new account from that dialogue, they can only log in as an existing user or exit the dialogue.
The only thing I can think of is that if I detect that the user isn't signed in, then I could pop up my own dialogue box and give them the options of signing in as an existing user, or opening up a seperate browser window so they can sign up for an account, or to quit without submitting a score.
Any advice on what I should do?