Is it possible to do? Construct2 is dependent on creating the localhost server, even when it's target platform is nw.js!
Unfortunately that is the one thing that WINE cannot do - so it's not possible to run layout in linux and mac. Otherwise the editor seems to be very stable and can even export the games. It just takes much more time to export the game and test it and we cannot debug it either.
So this is a question to Ashley :
Can we get the editor to run the layout without creating a localhost server? This would be a nice workaround for everyone who wants to use it under Linux before construct3 comes out natively. A tickbox in preferences to disable localhost would be awesome!
I guess that because it is a html5 game and html5 wont allow some things to work if the files are not on an actual server, the only way to do this is to run it with nw.js. So running a game layout with nw.js should allow to do this.
Btw here is the bug report I posted at wine's bug tracker:
https://bugs.winehq.org/show_bug.cgi?id=38245
The developers dont seem to be all that interested in fixing it. <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">
So if we can somehow get it to run layout and debug layout without the localhost server, it will make the editor much more useable under wine. Another thing that would be nice is the ability to tell nw.js which platforms to build for. Right now it builds for all platforms,, which takes a long time and creates a much bigger output. While testing the game, or 99% of the time, I would prefer to build it for only the platform I am working on. A nice tickbox to select which to build would be a nice addition to the editor!