I have created a transparent layer.
When I take snapshot in Chrome - the snapshot is transparent.
But in NWjs it is black.
How can I create a transparent snapshot in NWjs?
This is an issue I've butted heads with. Instead of using snapshots, try using a plugin called 'Paster' by r0j0hound. It's free, and really easy to use And it has a lot of different applications, this being just one.
mrtumbles, thank you, but I have found the solution without using any plugins.
I changed "this.forceCanvasAlpha = false;" to "this.forceCanvasAlpha = true;" in c2runtime.js after export via NW.js)
Develop games in your browser. Powerful, performant & highly capable.
Oooooh! Noted, thanks!
(Do check out 'Paster' though - it's a really neat plugin. I uninstall almost every plugin I download pretty much instantly (not a fan of clutter) but Paster has been with me a while)