- 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.
- Node.js 10實戰
- Learning Laravel 4 Application Development
- 從學徒到高手:汽車電路識圖、故障檢測與維修技能全圖解
- 軟件架構:Python語言實現
- Web性能實戰
- MINECRAFT編程:使用Python語言玩轉我的世界
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)
- 從零開始學UI設計·基礎篇
- C/C++程序設計教程
- JavaScript設計模式與開發實踐
- 面向對象分析與設計(第3版)
- Python深度學習入門:從零構建CNN和RNN
- Salt Cookbook
- 計算機教學研究與實踐:2017學術年會論文集
- The C++ Workshop