Game Launcher for playing HTML5 games without a browser
🔗 Download an example made with this launcher: Ghost Hunter
This code will create a launcher for html file. so you won't web browser to run your html5 games.
Follow these quick steps to set up the HTML5 Game Launcher:
- Ensure you have an HTML5 game with an
index.html
file and the necessary assets. (an example is included in the code) - Modify the
Game.fxml
file as needed. - Update the game paths in the commented code.
- Build a JAR file.
- Create an executable file.
- Build JAR file in intellIJ : https://www.youtube.com/watch?v=3Xo6zSBgdgk
- Convert JAR to EXE : https://genuinecoder.com/online-converter/jar-to-exe
- Create package installer : https://www.actualinstaller.com/easy-install-maker