4ian / GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.
https://gdevelop.io
Other
11.62k stars 883 forks source link

Saving variables with GDevelop auth #5646

Open gabrielzv1233 opened 1 year ago

gabrielzv1233 commented 1 year ago

my idea is simple, just a way to save variables, in two ways really, one being for the game only, and one that can allow data read/write from any game (as long as its from the same author for security reasons)

method 1: just a simple local var saving like saving that is saved online through gd.games/gdevelops authentication db or somthing here is what i think it may look like: (didn't spend too much time making it look good so dont judge lol image

meathod 2: Simply put instead of saving and reading data from a database built specifically for that one game, all games under the same author would have a shared database (hope this makes sense) this feature i can't really think of a use case for this, except maybe allowing cosmetics for games that save across all other games made by the author or something so if this is added please also add method 1 as it will probably be much more useful

now Is your feature request related to a problem?

yes, well sort of, this would speed up and simplify the process of making a clicker game that saves online, to do it normaly you would need to set up something like Firebase and have to choose your method of saving data, then setting up rules and signing in.

i have also tried just using other methods like setting up a server that uses http requests to save data but that has security issues and also requires me to get a dedicated server and also requires a ton of coding knowledge on how to make a server that can handle the requests, and i have tried firebase but again you need to choose a method of saving data and also set up rules to keep others from overwriting your data

romw314 commented 1 year ago

Clicker game? I have a clicker game as an example for Supabase with GDevelop here: GDevelopApp/GDevelop-extensions#1069