AxlLind / Strive

Infinite jumper mobile game created in Unity.
6 stars 1 forks source link

Make user only be able to have one highscore in top 10 #104

Closed AxlLind closed 7 years ago

AxlLind commented 7 years ago

Currently one user can fill up the highscore list with highscores submitted at different times.

I propose we change this by doing the following. When you first download the app we generate an ID for that person, in the same way we currently do for the highscore ID, and then use that as the node in the database:

Instead of what we have today:

Thoughts? Is that a good change? Cause currently if you are really good that the game and play a lot your highscores will dominate the highscore list.

Jontpan commented 7 years ago

Yes, I really like that. Should you be able to submit with a new name every time, or should we ask for their name once? I also think that adding your highscore to the global list should be automatic, maybe by checking the lowest highscore on the top ten and then submitting if it's higher. Doodle Jump asks if it should submit automatically, something we could think about?

We should also consider dropping firebase for google play games services.

AxlLind commented 7 years ago

Maybe we could save what ever name they typed in last and enter that into the input. That way you can just hit OK or change it if you want.

Jontpan commented 7 years ago

Yeah that would work. I think we would get a lot of things free if we tried google play services, like username? The user would have to log in to google play services though, but maybe they already are?

Jontpan commented 7 years ago

But firebase is lit, so.... It's definitely a hard choice....

AxlLind commented 7 years ago

From what I see google has no official package for google play support for unity, like what they have with firebase or google adsense. We could maybe find some third party thing but I feel like it would be easier to just stick with firebase for now.

AxlLind commented 7 years ago

Implemented in #105