Sign in to follow this  
Gustavgb

Converting HTML5 game to native desktop application

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.