jMonkeyEngine's prototypical BasicGame
as a Gradle/Java project
If you want to get started using Gradle with jMonkeyEngine's v3.6.1 SDK (or with NetBeans 22 IDE) and don't know where to start, use this project as a template.
Or you could simply fill out a web form: the JMonkeyEngine Initializer.
- Open the "Clone Repository" wizard in the IDE, either:
- Menu bar -> "Team" -> "Git" -> "Clone..." or
- Menu bar -> "Team" -> "Remote" -> "Clone..."
- For "Repository URL:" specify "https://github.com/stephengold/BasicGame-on-Gradle.git" (without the quotes).
- Clear the "User:" and "Password:" text boxes.
- For "Clone into:" specify a writable folder (on a local filesystem) that doesn't already contain "BasicGame-on-Gradle".
- Click on the "Next >" button.
- Make sure the "master" remote branch is checked.
- Click on the "Next >" button again.
- Make sure the Checkout Branch is set to "master*".
- Make sure the "Scan for NetBeans Projects after Clone" box is checked.
- Click on the "Finish" button.
- When the "Clone Completed" dialog appears, click on the "Open Project" button.
- When the "Open Project" dialog reports problems, click on the "Resolve Problems..." button.
- When the "Resolve Project Problems" dialog appears, the only problem should be "Priming Build Required". Click on the "Resolve..." button.
- When "This problem was resolved" appears in the dialog's text box, click on the "Close" button.
- In the "Projects" window of the IDE, right-click on the "BasicGame-on-Gradle" project to select it.
- Select "Run" or "Run Project".
- To close the "jMonkeyEngine 3.6.1-stable" window, press the Esc key.
Assets your game requires can be added to src/main/resources folder.