Balamurugan Posted December 17, 2019 Share 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 Link to comment Share on other sites More sharing options...
Horizonicblue Posted December 20, 2019 Share 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 Balamurugan 1 Quote Link to comment Share on other sites More sharing options...
plicatibu Posted December 20, 2019 Share 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. Balamurugan 1 Quote Link to comment Share on other sites More sharing options...
8Observer8 Posted December 20, 2019 Share 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 Balamurugan 1 Quote Link to comment Share on other sites More sharing options...
tosuto Posted December 20, 2019 Share 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. Balamurugan 1 Quote Link to comment Share on other sites More sharing options...
plicatibu Posted December 22, 2019 Share 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. Balamurugan 1 Quote Link to comment Share on other sites More sharing options...
rje Posted January 8, 2020 Share 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 Link to comment Share on other sites More sharing options...
rje Posted January 8, 2020 Share Posted January 8, 2020 This project might also give you some clues. https://github.com/node-3d/3d-core-raub 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.