What is LibGDX?
LibGDX is a Java-based framework for creating games and interactive applications. It provides the tools and building blocks to make games that can run on desktop, mobile, and web platforms without rewriting your code for each platform.
Key Features
- Cross-platform
- Write your game once and run it on Windows, Mac, Linux, Android, iOS, and WebGL.
- Graphics rendering
- Draw 2D (and optionally 3D) graphics efficiently using the GPU.
- Drawing shapes and textures (images).
- Input handling
- Handles keyboard, mouse, touch, and gestures on all platforms.
- Support for controllers.
- Audio
- Play music and sound effects easily, with support for streaming and looping.
- Collision detection and math utilities
- Built-in methods for collision detection and common mathematical functions.
- High performance
- Optimized for fast rendering, animations, and game loops using OpenGL.
Why did we develop the Saxion Game App?
Gettings started with LibGDX can be very difficult, especially without any knowledge of object oriented programming. The Saxion Game App acts as a simplified interface — or wrapper — around LibGDX. Instead of requiring you to create and manage complex objects, it lets you access many common game functions directly through static method calls (for example, GameApp.drawRectangle()). This means you can start drawing images, playing sounds, and handling input right away.
The Saxion Game App is designed to be usable for both beginners and more advanced programmers. It incorporates much of the functionality needed for 2D games in LibGDX and has already solved many common implementation problems, so you can focus on developing your game rather than dealing with framework complexities.
Although the Saxion Game App has been developed for educational purposes, it is not slower than LibGDX itself. This means you could even use it as a base for building professional-quality games while still benefiting from the simplified interface and pre-built solutions it provides.
The Saxion Game App has been designed in such a way that you can still use all of the possibilities from the underlying framework. So more advanced users can benefit from LibGDX directly.