Cloud saving/loading

Hey there,

I’ve been wondering how i could

  1. Make an authentication system where you just need to give your email and confirm it and you’re in
  2. After that just save and load your scores like they are in the local storage
2 Likes

Hey!

Yes, you can build that in Defold, but the important part is: do you want to use some external service, some existing solution or want to host your own server?

Simplest you can do is just use an HTTP request to ask your server for a user authentication, then the score - Defold supports HTTP API:

But I just assume here you have a server working (or a knowledge on how to build it).

If you are looking for something easy, the mentioned in the manual Tiny HTTP simplifies stuff a bit, otherwise I would look at the solutions such as Nakama, Colyseus or Photon, but some might be more than you need right now. Authentication in itself isn’t that hard to code, but making it right and secure is demanding some broader knowledge.

Thank you i’ll try that

1 Like