Gustavgb Posted March 21, 2015 Share Posted March 21, 2015 Hi there, I have been wondering for some time now, if it is a possibility to convert my current and/or future HTML5 games to native desktop applications. I have seen that there is some chrome/webkit frames as well as some other frameworks like Adobe Air. Which should I use, does anyone of you have any experience with this? Quote Link to comment Share on other sites More sharing options...
Bilge Kaan Posted March 21, 2015 Share Posted March 21, 2015 For my Construct 2 projects, I use this one http://nwjs.io/ Quote Link to comment Share on other sites More sharing options...
AshleyScirra Posted March 21, 2015 Share Posted March 21, 2015 Yep, NW.js does this for Construct 2 and it's the best I've found. Bilge Kaan 1 Quote Link to comment Share on other sites More sharing options...
Milton Posted March 21, 2015 Share Posted March 21, 2015 I played around with CocoonJS a bit, but at the time (about a year ago) it was too buggy. Then just switched to OpenFL/Flambe. And Air is definitely an option too, always works, and easy native extensions. Quote Link to comment Share on other sites More sharing options...
enpu Posted March 21, 2015 Share Posted March 21, 2015 CocoonJS is for mobile only. Quote Link to comment Share on other sites More sharing options...
Gustavgb Posted March 21, 2015 Author Share Posted March 21, 2015 For my Construct 2 projects, I use this one http://nwjs.io/ Yep, NW.js does this for Construct 2 and it's the best I've found. So, I made NW.js work following this tutorial: http://code.tutsplus.com/tutorials/introduction-to-html5-desktop-apps-with-node-webkit--net-36296 but I still dont know how to package this, so users dont have to install the app that runs the whole thing (in this case NW.js). Any experience with this problem? I would very much like an .exe file for Windows and .app file for Mac, etc. Quote Link to comment Share on other sites More sharing options...
enpu Posted March 21, 2015 Share Posted March 21, 2015 I use this to build nw.js apps/games: https://github.com/mllrsohn/node-webkit-builder Quote Link to comment Share on other sites More sharing options...
Gustavgb Posted March 21, 2015 Author Share Posted March 21, 2015 I use this to build nw.js apps/games: https://github.com/mllrsohn/node-webkit-builder Thanks, I used this tutorial instead: https://github.com/nwjs/nw.js/wiki/How-to-package-and-distribute-your-apps But the last problem I'm facing is that I can't figure out how to change the taskbar icon of my app. Is that possible? Quote Link to comment Share on other sites More sharing options...
tjs Posted March 22, 2015 Share Posted March 22, 2015 Quick question, is there any way to keep the size of the deployment down? I heard that applications using nw.js are around 70mb before game assets. Quote Link to comment Share on other sites More sharing options...
enpu Posted March 23, 2015 Share Posted March 23, 2015 Thanks, I used this tutorial instead: https://github.com/nwjs/nw.js/wiki/How-to-package-and-distribute-your-apps But the last problem I'm facing is that I can't figure out how to change the taskbar icon of my app. Is that possible?I think you have to define icon in your package.json: https://github.com/nwjs/nw.js/wiki/Manifest-format#icon Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.