June 2013
Beginner
352 pages
9h 5m
English
In the main() method of the class, you need to create a new instance of the application and call its
start() method. In this case, the main class is called Main, but you can also name it MyGame or whatever you like:
public static void main(String[] args) {
Main app = new Main();
app.start();
}When you run this code, the application window opens and the jMonkeyEngine starts rendering the scene.
Every jMonkeyEngine application provides the following methods for starting and stopping the game:
|
|
This method starts a jME3 game, typically used from the |
|
|
This method ... |
Read now
Unlock full access