Posts

Hello, libGDX!

Creating a libGDX Project Now that you have installed all the required tools, it's finally time to create your first libGDX project! libGDX provides a simple wizard tool to allow you to get started with a minimal project. This tool generates a Gradle powered scaffold that lets you run/deploy/debug from command line, or whatever IDE you like. In this blog, we'll be using IDEA/Android Studio IDE. Click here to download the libGDX project setup tool. It's an executable JAR file. Double-click it to start the tool. Note: you need to have the JRE installed in order to run Java applications. Please read our environment setup guide to install all required applications! After double-clicking the setup tool, the application should open and display a window similar to the one below: The setup tool provides some fields to fill. Information entered here determines how the resulting project will look like and behave. Let's look at the p

Introduction to libGDX

Image
LibGDX is a powerful open source cross-platform game framework written in Java for developing games that are, well, cross-platform! . It allows developers to target Linux, Mac, Windows, Android, iOS and HTML5 with a single codebase, sparing us the hassle of dealing with low-level, platform-specific details. This means we only need to write the source codes for games once and it will run on several platforms! The community behind the framework is large, welcoming, and always willing to provide support. The GitHub repository shows how active the project is, with many commits everyday, constant releases, and rich documentation. Thanks to its permissive Apache 2.0 license, Libgdx can be used for both commercial and non-commercial projects without having to necessarily disclose the source. This blog provides resources (tutorials) for learning and working with libGDX easily. In addition, we also provide tutorials for minGDX - a libGDX-based libray for easier