Android Using files online

salyossy

Member
Say I have an app where I frequently update it, not by changing the code but only adding files to be used, like new stages in the game.

Currently all (very small) files are stored in the "included files", so every small addition needs to be uploaded as a new apk on the google play store, which obviously is a too long process.

I've seen that there's gamemaker server but not updated to gms2, right? So, what could be other solutions in that case?
Every piece of information is blessed. Thank you.
 

TsukaYuriko

☄️
Forum Staff
Moderator
You can host them on your own server.

Have a file that indicates the current version on the server. Check it when the game starts. If the server version is greater than the local one, download the game resources. (Might want to add a check for which files are new and which ones are old, e.g. by comparing checksums.) The HTTP functions will be most useful to you for this.
 

Mool

Member
Yes this works good, I do that. But you need to use https or tell GMS, that it should send cleartext (in manifest, or it wont work)
 
Top