Added:
*Utils:
Each tick conditions are checked and events runs from top to bottom... so your sprite is scaled to 0.75 each tick (if conditions are always true)... scale to 0.25 works but you can't see it and 0.4sec after 1st time conditions are true, the sprite is destroyed
https://www.scirra.com/manual/75/how-events-work
I have to add more stuff before post it but Danwood already own a beta version
Steam API support DLC, greenworks doesn't.
I will try with node buffer
it's a new plugin (I don't change the plugin icon for now) I create extra features and merge with original features
"Write image data (base64)" ^^
It should work with the expression from extractimage plugin... and other image convert to base64 string
You want something like this?
Why not?
You can do the same with tokenat(src, index, separator) and tokencount(src, separator) :
afterLast (src,separator) = tokenat (src, tokencount(src,separator)-1,separator)
beforeLast (src,separator)=tokenat(src,tokencount(src,separator)-2,separator)
https://www.scirra.com/forum/request-nw-js-write-image-file_p1031519?#p1031519
—
A Mac OSX build could be planned.
Develop games in your browser. Powerful, performant & highly capable.
For screenshot:
Browser.ExecJS("var fs = require('fs');fs['writeFileSync']('" &replace(NodeWebkit.UserFolder & "screenshot" & ".png","\","\\")& "','" &CanvasSnapshot& "'.split(',')[1], {'encoding': 'base64'});") [/code:32e9xfyt]
Which version of C2 and nw.js do you use?
Do you export with kiosk mode check?