Anyone used Electron or DecSoft to convert C2 games into exe

  • Hi guys I know most of you have had many problems with NW.js and are getting fustrated. I was wondering if anyone has used alternatives like this Electron

    http://electron.atom.io/

    or

    Decsoft

    https://www.davidesperalta.com/htmlcompiler

    I heard about these on Reddit and it seems developers are making a move towards them. I am not a windows developer, android is more my style. But if your looking for an alternative than these look pretty solid.

  • I haven't tried them, but they do sound interesting. The more options we have, the better imo.

  • Hey PixelPower

    I'm currently making my own exporter and plugin for Electron. I got better performance on it. I discuss about it on my Discord server. To join it, click on the link in my signature. Just mention me on Discord thus way I can know it's you

  • armaldio Will you release that plugin, or is it only for your own purposes?

  • Hey PixelPower

    I'm currently making my own exporter and plugin for Electron. I got better performance on it. I discuss about it on my Discord server. To join it, click on the link in my signature. Just mention me on Discord thus way I can know it's you

    Ok cool I mainly make android games but was thinking about desktop versions of my game too. If you can get it to work correctly, that would be awesome!!

  • glerikud I will release it

    PixelPower It already work correctly. I'm working on the plugin to interact with it like Nwjs (write to files, clipboard access,...)

    Let me know if you are interested.

  • armaldio - I'm interested in that plugin too. What do you mean though, that you're making your own exporter? Does that mean you can preview in electron?

  • Arima It's not really an exporter :

    • I've made a precompiled version of electron, and i've all setup inside the way you just have to export to the right folder and it should work.

    Since exporting each time is a bit boring, i've also setup "liverealod". That means that instead of, closing and reopening the executable each time to test your changes, you can let it running and it'll watch for any changes. If there are, onliy the view is reloaded, automatically.

    With electron, you can also have plugins that uses node modules.

    The next step is using the "custom preview browser" option of C2, i'm sure that will work.

  • Hi guys I know most of you have had many problems with NW.js and are getting fustrated. I was wondering if anyone has used alternatives like this Electron ...

    Don't get me started with NWjs issues, I constantly hope for updates that fix bugs and don't add new ones.

    Any bug that I experience mostly gets blamed on chromium/nwjs by Ashley and in return they are blaming it on the game engine, leaving me in an endless loop with nothing but frustration and literally no progress being made. (I end up with dropping the feature for 90% of those cases...)

    I think for 2016, Electron beats NWjs in a lot of different factors but see and judge by yourself HERE.

  • > Hi guys I know most of you have had many problems with NW.js and are getting fustrated. I was wondering if anyone has used alternatives like this Electron ...

    >

    Don't get me started with NWjs issues, I constantly hope for updates that fix bugs and don't add new ones.

    Any bug that I experience mostly gets blamed on chromium/nwjs by Ashley and in return they are blaming it on the game engine, leaving me in an endless loop with nothing but frustration and literally no progress being made. (I end up with dropping the feature for 90% of those cases...)

    I think for 2016, Electron beats NWjs in a lot of different factors but see and judge by yourself HERE.

    Yeah Tom and Ashley now say if something is broken , ask the other people to fix it. Look here for another example

    I posted something like this in response to Ashley and Newt

    Point blank to everyone we paid for certain things so we should receive them period. No one paid Kongregate to use C2. We paid Tom and Ashley so they should give us support.

    Do you go into McDonalds and ask where is my order from Burger King? No, because that sounds stupid.

  • I've also made this as a comparison.

    Browser : http://img4.hostingpics.net/pics/941245 ... rowser.png

    NWjs : http://img4.hostingpics.net/pics/318128profilenwjs.png

    Electron : http://img4.hostingpics.net/pics/784276 ... ectron.png

    This is not very relevant, but it's a small test.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I've also made this as a comparison.

    Browser : http://img4.hostingpics.net/pics/941245 ... rowser.png

    NWjs : http://img4.hostingpics.net/pics/318128profilenwjs.png

    Electron : http://img4.hostingpics.net/pics/784276 ... ectron.png

    This is not very relevant, but it's a small test.

    That's good, always nice to do measurements, I'm sure that Ashley will like this one too.

    I recommend to provide everything, from the source code to detailed debug information.

  • Arima It's not really an exporter :

    - I've made a precompiled version of electron, and i've all setup inside the way you just have to export to the right folder and it should work.

    Since exporting each time is a bit boring, i've also setup "liverealod". That means that instead of, closing and reopening the executable each time to test your changes, you can let it running and it'll watch for any changes. If there are, onliy the view is reloaded, automatically.

    With electron, you can also have plugins that uses node modules.

    The next step is using the "custom preview browser" option of C2, i'm sure that will work.

    Count me in! I freaking hate NodeWebKit...

    Would kill a puppy for any valid alternative.

    >

    > I personally don't get hyped for C3 anymore because.

    >

    There is a saying.

    Fool me once, shame on you.

    Fool me twice, shame on me.

  • Please note that NW.js is only available with a license and any discussion of ways to circumvent the license restriction is not allowed, even if it is possible.

    I cannot think of any technical reason Electron would perform better or worse than NW.js - they are based on the same Chromium browser engine, so are running pretty much the same code. The screenshots of performance results look close enough to be within the margin of error, or deriving from window size differences or the Chromium version used. Realistically I don't think anything would be much different if we supported Electron, and it could be a lot of work.

    NW.js is regularly updated and AFAIK is robust enough for several games to have been published to Steam with it. As far as I am aware the new versions tend to work better than the old versions, not worse, especially since they come with the feature, performance and memory improvements of the newer Chromium versions. If you run in to problems please do file bugs for any issues you have so we are aware of them.

    The "relying on browsers" argument has been done to death a bunch of times already and I'm really sick of it - you can't avoid relying on third parties in software. If we went native then we would be hosed by crappy graphics drivers instead, and there wouldn't be anything we could do about it. So I know it's frustrating when there are problems caused by other software projects, but there is no reason to think that changing which software we depend on would fundamentally resolve that.

  • Please note that NW.js is only available with a license and any discussion of ways to circumvent the license restriction is not allowed, even if it is possible.

    So, are you saying that Scirra won't allow armaldio to publish the Electron plugin? Or I misunderstood something?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)