- Free Courses
LibGDX is a desktop, Android, BlackBerry, iOS, HTML5 game development framework created with Java. By downloading LibGDX you can create code in Android Studio and publish it for iPhone.
libGDX allows the developer to write, test, and debug their application on their own desktop PC and use the same code on Android. It abstracts away the differences between a common Windows/Linux application and an Android application. The usual development cycle consists of staying on the desktop PC as much as possible while periodically verifying that the project still works on Android.
Its main goal is to provide total compatibility between desktop and mobile devices, the main difference being speed and processing power. Download LibGDX at libgdx.com.
Create a folder in your user directory named Android. Example:
Open gdx-setup.jar with Java.
Name - Your project name. Example: FlappyDemo.
Package - Your web domain. Mine is nettport.com, so the package is com.nettport.game.
Game class - Main class.
Destination - Where you want the project to be.
Android SDK - Where you have the Android SDK folder.
Default for Android studio is
Click on Advanced. Make sure IDEA is checked.
Open Android Studio.
Select "File -> Close".
The screen below should appear. Click Import project.
Go to Android Studio. Click Open Configurations.
Click the plus, and select Application.
The next window will give you configuration for your desktop run/debug.
Run the application.
You should now see the Bad Logic Game logo.
No comments yet. You can be the first one to comment. Just write your comment in the form and click on the submit button.