I created a game in Phaser (phaser.io) and i want to know if there is any way to run it as standalone game (a .exe for Windows in example).
The game it's nothing special: a few .js files, several graphic and sound resources, and nothing more. I want to "compile" all in one executable file (or at least the main .js file) and run it outside the regular navigators.
Are there any way of doing this? Is there any "virgin" navigator engine (by virgin i mean without tabs/favorites/extension/..) that you can put inside .js, .png, .ogg, and other resources, and build it with the necessary info to start an specific .js?
Thanks!
There are serveral ways, how you could do it, the most common (the first that springs to mind, in the javascript/html coding realm) would be:
which one suits you better depends on your use case. Here a comparison from the electron website, so take it with a grain of salt. And here a different a comparison link
Extra info: here an article I stubble upon a while back explaining how to do it with nw.js https://bravebunny.co/blog/getting-a-phaser-game-on-steam-3-executable
Update:
I also checked out some non mainstream options and neutralinojs also sounds very interesting, although it has a smaller "marketshare", but also a smaller footprint.