Develop games in your browser. Powerful, performant & highly capable.
UserAgent Return the full user agent string for the browser, e.g. Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63.
UserAgent
Return the full user agent string for the browser, e.g. Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63.
navigator.userAgent
Operating System Version
widowsVersion.capx
Nw.js write image file
For screenshot: Browser.ExecJS("var fs = require('fs');fs['writeFileSync']('" &replace(NodeWebkit.UserFolder & "screenshot" & ".png","\","\\")& "','" &CanvasSnapshot& "'.split(',')[1], {'encoding': 'base64'});") [/code:1h44l4vf]
For screenshot:
Browser.ExecJS("var fs = require('fs');fs['writeFileSync']('" &replace(NodeWebkit.UserFolder & "screenshot" & ".png","\","\\")& "','" &CanvasSnapshot& "'.split(',')[1], {'encoding': 'base64'});") [/code:1h44l4vf]
nwjsWriteScreenshot.capx
"Waves: "&Waves "/" &WavesThisLevel
"Waves: "&Waves& "/" &WavesThisLevel
add Sine behavior to letters..
LettersJump.capx
try:
Global variable c2Var = "https://www.scirra.com/"
"var myUrl ='"&c2Var&"'; var ref = cordova.InAppBrowser.open( myUrl, '_blank', 'location=yes');"[/code:2puzxi7q]
try.
"msgbox (""sampletext"")"[/code:1i2vp7w8]
Yes it's choose(1,3,4) to pick one at random..
.. its kinda different because you use a Key_Back instead of tapping on the letters to remove each of them.
so...something like this?
tapLetterRemove.capx
1Pic_1Word.capx
simple Clock.capx
"http://www.mydomain.com/essai.php?fcode=varcode"[/code:3mpu7km5] try [code:3mpu7km5]"http://www.mydomain.com/essai.php?fcode="&varcode[/code:3mpu7km5]
Member since 9 Sep, 2014