官术网_书友最值得收藏!

Chapter 1. Setting Up Your Development Environment

LibGDX's development is very powerful, and that is why we will set up a nice and stable structure to work with before jumping into the code and project structure. We will use IntelliJ IDEA to do most of our development for the simply because it's productive (and of course, there are few neat tricks to combine with LibGDX), though it's very common to use Eclipse for development too. There are other ways to set up a 3D game with LibGDX, but to start off this book; we will build the game with basic assets created by code. In this chapter, we will explain how to download and set up all the required tools to get you started with setting up an environment to build 3D games with LibGDX, and to work on desktop and Android platforms. Although LibGDX also builds for HTML (WebGL) and iOS, we won't cover these builds because they do not fit with our game, but they are as easy as the following documentation guidelines on the official site (http://libgdx.badlogicgames.com/). You will learn more about this in this chapter.

Assuming you know LibGDX, you already have the Java Development Kit (JDK) installed and the Android software development kit (SDK) updated (you need API 22 with the LibGDX version [1.6.4]); otherwise, a simple Google search will do. The steps are OS-free and we will use Windows to implement them.

We will cover the following topics in this chapter:

  • Downloading and installing IntelliJ IDEA
  • Setting up the LibGDX project and importing it to IntelliJ IDEA
  • Running and debugging the game
主站蜘蛛池模板: 乐安县| 临桂县| 河源市| 安泽县| 遵义市| 铁岭市| 青岛市| 叙永县| 综艺| 德兴市| 开化县| 隆尧县| 宁德市| 美姑县| 留坝县| 尚义县| 海南省| 喀什市| 历史| 枞阳县| 敦化市| 招远市| 新野县| 永兴县| 六枝特区| 麦盖提县| 安平县| 杨浦区| 玉环县| 松潘县| 仁化县| 钟山县| 怀远县| 宁晋县| 昭觉县| 丰县| 隆昌县| 宁津县| 扎赉特旗| 甘谷县| 舞钢市|