Now that you have specified settings and know how to save and load your game, it's time to decide how to deploy it. The default build script generated by the jMonkeyEngine SDK for your project assists you with common deployment options.
The default deployment type for Java is Java archive (JAR). A JAR file contains an executable desktop application that runs on Windows, Mac OS, and Linux. In order to be able to simply double-click and run JAR files, the user must have his system configured to allow that, or the user must know how to run JAR files from the command line. Since not all users know how to launch JAR files, you typically need to provide a more user-friendly option.
Whether you release your game as a Web Start application, Android mobile game, desktop application, or as a browser applet, you have to consider the pros and cons of each option:
Distribution |
Pros |
Cons |
---|---|---|
Desktop Launcher (for Windows ( |
This is a typical desktop... |