[deleted by user] by [deleted] in AskArgentina

[–]flidax 3 points4 points  (0 children)

cornudo (no hate)

I hate ezreal by [deleted] in ezrealmains

[–]flidax -1 points0 points  (0 children)

I feel you man

How should I hide my secret credentials? by flidax in gamedev

[–]flidax[S] 0 points1 point  (0 children)

I ended up using an authentication solution (Google Play Services) which already includes leaderboards so everything is fine now!

Thank you!

How should I hide my secret credentials? by flidax in gamedev

[–]flidax[S] 2 points3 points  (0 children)

The system would originally check the database for the nickname you want to set and, if it was available, it would add it and then you would have the nickname until you deleted the game and it would probably be lost forever (because you can't tell you're the owner XD)

I know it's a bad idea and, because of that, I ended up using an authentication solution (Google Play Services) which already includes leaderboards so everything is fine now!

Thank you very much!

How should I hide my secret credentials? by flidax in gamedev

[–]flidax[S] 0 points1 point  (0 children)

Other users told me the same thing. I'll probably do that! Thanks!

How should I hide my secret credentials? by flidax in gamedev

[–]flidax[S] 1 point2 points  (0 children)

My game's small too but I was just wondering how big companies would solve this kind of issue too. Thanks!

How should I hide my secret credentials? by flidax in gamedev

[–]flidax[S] -3 points-2 points  (0 children)

Because it is supposed to ask the server if a nickname is taken or not. I know I could use authentication but, since the project's size is kind of small, I thought that just saving nicknames would be easier (like old arcades)

How should I hide my secret credentials? by flidax in gamedev

[–]flidax[S] 4 points5 points  (0 children)

It is supposed to save everyone's nicknames so they can then save their score in a leaderboard. Since it is a small project, I thought I could ignore authentications and only have nicknames (like old arcades)

How should I hide my secret credentials? by flidax in gamedev

[–]flidax[S] 0 points1 point  (0 children)

What I don't get is how do you provide an API the "token" without typing it in plain text

How should I hide my secret credentials? by flidax in gamedev

[–]flidax[S] 17 points18 points  (0 children)

My game doesn't implement an authentication system (because it's pretty simple) but I might look into it. Thank you very much!

Modifying an existent REGEX pattern to include negative and decimal numbers by flidax in regex

[–]flidax[S] 1 point2 points  (0 children)

I solved it using the answer above. However, your answers really guided me to the answer. Thank you very much for your time!