Balamurugan 0 Report post Posted December 17, 2019 I Develop One Game in HTML5. Now my Client Ask They Need For Windows. I don't know which is the best method?. Anyone have Knowledge? I need to convert HTML5 to EXE(windows). Best Practice with Examples i want. And also Exe size should be less. Please share your knowledge. Quote Share this post Link to post Share on other sites
Horizonicblue 20 Report post Posted December 20, 2019 You can try https://electronjs.org/ I dont know about the best practices and methods as I haven't used it much, but its widely used 1 Balamurugan reacted to this Quote Share this post Link to post Share on other sites
plicatibu 52 Report post Posted December 20, 2019 @Balamurugan Just notice that applications made with Electronjs consumes a lot of RAM and have a typical size of 120MB. Other than that, it is great. 1 Balamurugan reacted to this Quote Share this post Link to post Share on other sites
8Observer8 58 Report post Posted December 20, 2019 (edited) @plicatibu I think it is not big for current time and modern computers. Try to create a build using Unreal Engine 4 or Cry Engine 5. UE4's build will have a size at least 600 MB. CryEngine5's build will have a size of more than 4 GB because this engine requires to include whole engine in the final release build. Unit's empty scene requires 70 MB. Correct me if I wrote wrong sizes. Edited December 20, 2019 by 8Observer8 1 Balamurugan reacted to this Quote Share this post Link to post Share on other sites
tosuto 3 Report post Posted December 20, 2019 Definitely go for electron if you don't want to rewrite everything (or https://nwjs.io/) Perfs are good, but yes memory usage is bigger than if you create the game with unity for example. 1 Balamurugan reacted to this Quote Share this post Link to post Share on other sites
plicatibu 52 Report post Posted December 22, 2019 @8Observer8 I understand that for current standards it is not that big but I think it's still too much. @Balamurugan In case you need to support many platforms, for your next games I'd suggest you develop it using Gideros Mobile or Openfl. These frameworks allow you to export your code to Android, iPhone, Mac, Windows. Linux and HTML5. But you will use Lua when developing in Gideros and Haxe when developing in Openfl. Don't worry. Lua is one of easiest programming languages to learn. Haxe also is a superb language. Also, your games when exported to desktop OSes like Windows will be bettween 5 an 20MB. Regards. 1 Balamurugan reacted to this Quote Share this post Link to post Share on other sites
rje 2 Report post Posted January 8, 2020 If you can live without the DOM. for desktop you can also try pkg + glfw-raub + webgl-raub https://www.npmjs.com/package/pkg Quote Share this post Link to post Share on other sites
rje 2 Report post Posted January 8, 2020 This project might also give you some clues. https://github.com/node-3d/3d-core-raub Quote Share this post Link to post Share on other sites