MiniPigGame

MiniPigGame 1

2021-12-25  本文已影响0人  flykpyang

http://libgdx.com/dev/setup/

1.这里是开始游戏的准备工作

Home/Dev/Creating a Project

If this is your first time using libGDX, you’re at the right place. The following steps detail how you can get your fist libGDX project up and running.

如果你是第一次用libGDX,你可以看这个说明。接下来将详细的指引开始你的第一次libGDX之旅。

第一步创建开发环境:

First off, you need an IDE (Integrated Development Environment). It is basically an editor for your java files, which makes developing java applications considerably more convenient in various ways.If you already have an IDE installed, you can skip to the nextstep.

首先你需要java的开发环境(IDE).这个是进行java开发的基础,也会使得java开发更加方便和有效率。

The java world offers a lot of different IDEs. All of them will have minor advantages and disadvantages, but in the end they all do their job, so feel free to choose whichever you like most.

在java的技术环境中有很多IDE可供选择。我在选择android studio,选择原因也比较简单。

因为IntelliJ IDEA和Android studio 是一家公司的产品,大部分java同学对IntelliJ IDEA比较熟悉的。当然也可以用IntelliJ IDEA开发,但是游戏开发毕竟是客户端的工作,所以我们用专门的客户端的开发的IDE会相对比较合适。当然这个只是是我的个人选择。

选择你最称手的兵器。

For newcomers wanting to not only target desktop, but mobile platforms as well,we recommend Android Studio.

如果你不仅仅只是让你的游戏运行在桌面上,而是运行在手机终端。我们推荐 Android Studio。

JDK: is provided by Android Studio

IDE itself:Android Studio

Android: is offered out-of-the-box

For iOS:RoboVM OSS IntelliJ plugin

Now that you have a development environment, you can create your very first libGDX project. libGDX offers a setup tool for that, which generates all the necessary files. To get started with it, take a lookhere.

现在你已经搭建好你的开发环境了,现在就可以创建你的第一个libdgx的项目。libgdx提供了专门创建项目的脚手架。用这个脚手架你能很方便搭建一个最基本的项目。

上一篇下一篇

猜你喜欢

热点阅读