Hi,
Im using Browser object to exec a js function, the issue comes when i send aparameter like "myfunction("&Score&")";
in the js file i have:
function myfunction(score)
{
console.log("the score: "+score);
}
When i run the game, i can see the log in console but the game continue with rare beahviours like not firing collisions or detecting overlapping objects.
There isn't any error in console, so what can be the problem?
for now i find a workaround that is to use webstorage from C2, store the value i need to share with the js function and then inside the js function use window.localStorage.getItem("mykey")