Is there some way to have interaction between the JS simulator and the game runtime?
I would e.g. like to dynamically fetch data from the browser and integrate some external services.
Probably needs code on both sides?
Is there some extendable version of the simulator available somewhere?
1 Like
I’m afraid not; we do not allow extensions to add code to the simulator for security reasons. The arcade simulator is closed source.
1 Like
Are there maybe plans to open source the simulator at some point?
I am planning to host it on my own site, so the user would already be exposed to my ‘evil’ js, so security shouldn’t be implicated further for this use case?
I suppose I could monkey patch the ‘binary’ js in the assets folder for now.
1 Like
There are no plans at this time to make it open source.
1 Like
If you export your game to github, you will get a compiled version of the editor. With great hackery, you should be able to hook up fetch
requests into your game. It’s not really a supported scenario now so it might be painful to maintain this.
1 Like