I need to call some JavaScript functions that will affect the game. Will the code below work using the browser object?
Develop games in your browser. Powerful, performant & highly capable.
You can pass query params into the game.
<iframe src="/game/index.html?someParam=someValue&anotherParam=anotherValue"></iframe>
Then inside the game Set someGlobal variable to those values Browser.QueryParam("someParam")
Browser.QueryParam("someParam")