Домой United States USA — software Make a Game With LibGDX — Part 1

Make a Game With LibGDX — Part 1

297
0
ПОДЕЛИТЬСЯ

The first part of this tutorial introduces the LibGDX Java framework and demonstrates how to download it and configure it.
Let’s be friends:
Comment (0)
Join the DZone community and get the full member experience.
Hi everyone!
In this series of articles, we are going to talk about game development with LibGDX. This is a kind of introduction part where I will show you how to create a skeleton of our game and talk a little bit about the game’s plot and tools.
LibGDX is a Java Framework for cross-platform game development (2D or 3D) created by BadLogicGames. What does thatmean? So, with this framework you can write your code once and launch the game on different platforms such as Windows, Linux, Mac OS, Android, iOS, HTML5 and BlackBerry. Sounds awesome, doesn’t it?
This is also an open-source project and you can check some examples of game in the gallery. You can find additional information like features, tools, documentation, news about releases and more on the site. So let’s get started. First of all, you need to download gdx-setup app.(Note: you can work without that tool but you need to write some boilerplate code manually, add libraries, set paths and so on).
Start gdx-setup. You will see the main screen of Libgdx Project Generator.
Here we can set up our project:
(Note: you can explore Third Party Extensions and Advanced by yourself, we’ll skip them for now)
Click the Generate button and Libgdx Project Generator does all the routine work for us.

Continue reading...