I am currently working on an HTML5/JS game, and I wanted to ask if there are any solutions to create EXE/App wrappers for the game to run the standalone.
I plan to use PhoneGap to get it on mobile devices, but I wanted to also release it for Windows/Mac/Linux as standalone games in their own window. Maybe if it turns out well enough, put it on Steam and Desura.
I hear Titanium Desktop is an option, but seems to be out of date or super buggy according to what I read in various posts. While others mention Adobe AIR, but I am not sure how well that will work, or if it will support all the JS I need.
So I need help with figuring out if there is a good solution for what I want to do.
Any information is helpful.
Introduction. Not long ago it was impossible to build a desktop app with JavaScript. Happily, these times are gone, and now JS developers can use their knowledge and web development expertise to create desktop applications with a native feel. As usual, it's easier said than done.
With an improved runtime and great integration with JavaScript and Node. js, Electron JS makes both designing desktop apps and maintaining them on cross platforms easier and better.
Electron can be used to build Desktop Apps with HTML, CSS and Javascript. Also these apps work for multiple platforms like Windows, Mac, Linux and so on. Electron Combines Chromium and NodeJS into a single Runtime. This enables Us to run the HTML, CSS and Javascript Code as a desktop application.
The BEST solution I found out there is NodeWebkit.
It's basically Google Chrome (actually Chromium) wrapped into a customizable chromeless interface. It uses Node.js as the backend (you can do data storing, interact with the system...), so you have the advantage of having the fast V8 javascript engine running on both ends.
As its core is just plain old Chromium, it will run smoothly anything that runs smoothly on Chrome.
Originally I suggested AppJS, but I think the project kind of went dead since then. NodeWebkit is very similar, but has an ever better approach: it brings the Node.JS API right into the client javascript, so everthing works seamlessly.
I've heard good things from http://www.appcelerator.com . I've also seen people use webkit. Or use flex/as3/air, which has a built in webkit browser.
I've also heard of some custom html5 browsers that extend/improve the canvas element.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With