Connect to a server

or can I not?
i just need to to generate some code that could be transferred back to the client

You can for sure connect to a server and download stuff. After all there are a lot of games that communicate with get/post/put and send/receive json data. In GDevelop you can also add JavaScript code, so downloading additional scripts should in theory be no problem. Just be aware the game may be running inside a sandbox and thus only can connect to the server it was downloaded from.

I’m not good enough on JavaScript or GDevelop to give example code though.

2 Likes

I really don’t know the process but the short answer is yes.

Maybe this will help??

http://wiki.compilgames.net/doku.php/gdevelop5/all-features/network

1 Like