StackTips
 13 minutes

Cross Platform Mobile Game Development Using Libgdx

By Editorial @stacktips, On Sep 17, 2023 Blog PostsUnity 2.34K Views

1. Introduction

Libgdx is an open source, cross platform game development framework. It currently supports Windows, Linux, Mac OS X, Android, iOS and HTML5 as target platforms. This is mainly intended to to create games using Java programming language. Internally Libgdx is using C programming language to enable cross platform capabilities and to provide better performance. Libgdx lets you go as low-level as you want, giving you direct access to file systems, input devices, audio devices and OpenGL via a unified OpenGL ES 2.0 and 3.0 interface.

People always misleads Libgdx as a game engine, but it is not. It is a framework, providing set of API to build games.  A game engine is normally comes with lot of the tools and editors to make your game development process easier and faster. It means that, you may make use of other third party tools to take advantage of different things that used to build a game.

2. Feature of Libgdx Framework 0.97

2.1. Cross-Platform

A single API to target:

  • Windows
  • Linux
  • Mac OS X
  • Android (2.2+)
  • BlackBerry
  • iOS
  • Java Applet (requires JVM to be installed)
  • Javascript/WebGL (Chrome, Safari, Opera, Firefox, IE via Google Chrome Frame)

2.2. Graphics

2.3. 3rd Party Support

Libgdx can be integrated with many 3rd party tools. We love:

  • Spine – 2D Skeletal Animation
  • Nextpeer – Mobile multiplayer made easy
  • Saikoa – makers of ProGuard and DexGuard

2.4. Audio

2.5. Input Handling

2.6. Math & Physics

2.7. Utilities

2.8. File I/O & Storage

2.9. File I/O & Storage

Feature above feature set is taken from official website.

stacktips avtar

Editorial

StackTips provides programming tutorials, how-to guides and code snippets on different programming languages.