- Building a 3D Game with LibGDX
- Sebastián Di Giuseppe Andreas Krühlmann Elmar van Rijnswou
- 212字
- 2021-07-14 10:23:56
LibGDX project setup
At the time of writing this book, LibGDX was in version 1.6.4 and we will use that version. Download the setup app from http://libgdx.badlogicgames.com/download.html and open it:

Set up your project name (ours will be called Space Gladiators
) and package name (ours is com.deeep.spaceglad
). Enter the game's main class name (ours is Core
), set the destination path to your preferred directory, and point out the Android SDK directory location.
We will check the Desktop, Android, and iOS project, but leave out Html since we will use the Bullet physics API, which doesn't work on HTML because of the Google Web Toolkit (GWT) backend (for more information, check out http://www.badlogicgames.com/wordpress/?p=2308).
From Extensions, we'll select Bullet (Bullet physics API), Tools (Bitmap Font Generator [Hiero], 3D Particle Editor, and TexturePacker), Controllers (Controller Input API), and Ashley (Entity System API).
LibGDX comes, as you can see, with a lot of very useful tools that you should use for some time and explore them. We'll cover these selected APIs in some depth over the course of this book.
Click on Generate and wait. After it is done, open IntelliJ IDEA and click on Import Project. Go to your newly created project and look for a file called build.gradle
, and IntelliJ will do everything else.
- 觸·心:DT時(shí)代的大數(shù)據(jù)精準(zhǔn)營(yíng)銷(xiāo)
- 密碼學(xué)原理與Java實(shí)現(xiàn)
- C# 2012程序設(shè)計(jì)實(shí)踐教程 (清華電腦學(xué)堂)
- CentOS 7 Server Deployment Cookbook
- Mastering Kali Linux for Web Penetration Testing
- Apache Spark 2.x for Java Developers
- Nginx實(shí)戰(zhàn):基于Lua語(yǔ)言的配置、開(kāi)發(fā)與架構(gòu)詳解
- 零基礎(chǔ)學(xué)HTML+CSS
- Practical Predictive Analytics
- Mastering Leap Motion
- Mastering ArcGIS Server Development with JavaScript
- Learning QGIS(Second Edition)
- TensorFlow.NET實(shí)戰(zhàn)
- C++游戲設(shè)計(jì)案例教程
- 邊做邊學(xué)深度強(qiáng)化學(xué)習(xí):PyTorch程序設(shè)計(jì)實(shí)踐