Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Do I have anyway to sneak in a global variable into 'browser execute javascript' action?
Some thing like, for example
var ref = cordova.InAppBrowser.open('http://===INSERT VARIABLE HERE===', '_blank', 'location=yes');
try:
Global variable c2Var = "https://www.scirra.com/"
"var myUrl ='"&c2Var&"'; var ref = cordova.InAppBrowser.open( myUrl, '_blank', 'location=yes');"[/code:2puzxi7q]
Develop games in your browser. Powerful, performant & highly capable.
try: Global variable c2Var = "https://www.scirra.com/"
"var myUrl ='"&c2Var&"'; var ref = cordova.InAppBrowser.open( myUrl, '_blank', 'location=yes');"[/code:1r9zr6hv]
Thank you. I'll try it out.