I was researching a bit desktop wrappers, and I came across Electron (formerly Atom shell).
It looks interesting and I wonder what are the real differences with NW.js, in terms of speed and smoothness (janks).
So far the interesting part seems to be the smaller file size generated and code protection that does not cause a 30% hit on performance like NW.js
Ashely: have you thought about running some test to see how this compares?
Develop games in your browser. Powerful, performant & highly capable.
Yeah, I read about it some time ago, and from what people saying on different portals/forums etc it looks like Electron is a bit better than NWjs.
But that's what they say,.. I didn't had a chance to play with it myself so I'm curious how C2 projects run using it.
ASHLEY. I would be interested in this too. If NW.js doesn't get an update anytime soon fixing the performance issues plaguing lots of Construct games, (which chromium 43 was rumored to fix), I fear I will never be able to launch my game in a non broken state.
Electron seems to be using the latest chromium, and seems to be in more active development?
This is interesting. So what are the pros/cons for Electron as oppose to NW.jS (that we know of) ?
Have a look here:
Particularly interesting the render engine (blink vs webkit). I have been following the jank issue in chrome bug tracker and while it is getting better, they admitted that they have still several other structural changes before they get rid of it and that could take time.
Does it have the full dom?
You know who will say nope if it doesn't.
Well, wouldn't hurt to have it implemented as another option along with NW.js. But if NW.js really is ramping up for a pretty big update then things could get interesting soon too.
Integrating these engines is a huge amount of work and unless there's any concrete improvements then I don't see a reason to try. Both are based on the Chromium browser engine, so I don't see any reason Electron would be any better or worse.
They made an updated version of this comparison if anyone is interested.
We already can use Electron under Construct 2.
Is it possible to use Electron for Construct 3 ?