- jMonkeyEngine 3.0 Cookbook
- Rickard Edén
- 277字
- 2021-09-03 10:00:45
Setting up a project
The jMonkeyEngine SDK is based around the NetBeans environment. Users familiar with the NetBeans environment will probably have little trouble finding their way around the jMonkeyEngine SDK. For those with no previous experience, some pointers on how to get started might be in place. In this recipe, we'll create a project that can access the jMonkeyEngine test-data library. By doing so, we will have some assets available from the start that can be used to try out many of the recipes.
Getting ready
Before setting up a project, we need to download the SDK. Doing so is as easy as going to http://hub.jmonkeyengine.org/downloads/ and selecting a suitable package for your operating system.
After downloading and installing the package, we're ready to go!
How to do it...
We can set up a project by performing the following steps:
- First of all, find the Projects window.
- Right-click somewhere inside it and select New Project.
- In the window that appears, select JME3 from Categories and BasicGame from Projects.
- On the next screen, choose a suitable name for the project and click on Finish to create it.
- The project should now appear in the Projects window. Right-click on it and select Properties from the menu.
- Select the Libraries option, click on the Add Library… button, and find the
jme3-test-data
library from the list.
How it works...
When the project is created, it sets up the basic necessities for a jMonkeyEngine project. You will get a Project Assets folder where any content can be placed in its subfolders. It also creates the Main.java
file based on the SimpleApplication
class. This is the starting point for your application.
- Learning Cython Programming(Second Edition)
- Getting Started with ResearchKit
- Java Web基礎與實例教程(第2版·微課版)
- 用Flutter極速構建原生應用
- Serverless computing in Azure with .NET
- Learning OpenStack Networking(Neutron)(Second Edition)
- Oracle GoldenGate 12c Implementer's Guide
- 用案例學Java Web整合開發
- Python函數式編程(第2版)
- Java程序設計基礎(第6版)
- TypeScript圖形渲染實戰:2D架構設計與實現
- Java程序設計及應用開發
- Clojure編程樂趣
- MySQL數據庫教程(視頻指導版)
- Python Django Web從入門到項目實戰(視頻版)