Godot Version
4.3
Question
Hi, I’m working on an online multiplayer game for Android, my question is how some online games make changes remotely (fix bugs, add new content) and how I can do that?
4.3
Hi, I’m working on an online multiplayer game for Android, my question is how some online games make changes remotely (fix bugs, add new content) and how I can do that?
I think you will need to export a portion or the entire game as a packed scene. Which is saved to disk, and a mechanism in the game that loads the packed scene on start up, or some point. Then to update, you just need to replace that packed scene over the air.
Obviously you can get as modular and fancy as you want. But i think this is the general concept.
This method has a few problems. First, we don’t have access to the script, and second, we don’t have access to the resources.
I know a method but it doesn’t make sense, my method is to change the res
path to user
in all files using EditorPlugin
. Then I calculate a checksum for the files and put it on the server, finally I write a logic to check and download these files and save them in the device’s memory.
That makes sense to me. Although you may want to encrypt everything that is saved to user. So the client cant get noisy, unless you want to support modding.
But sorry i was a little off. There are export options although i havent really fully understood it.
how can I do that?
Although these are outside of the ResourceSaver class so idk what the implications are other then a two step process.
PCK files can be encrypted too and have the functionality built in the export process.
I would want to push you to the PCK route, as it seems the most convenient and proper, compared to a homebrew solution.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.