Which libGDX classes are Thread-safe? HTML5 All of the ApplicationListener methods are called on the same thread. This thread is the rendering thread on which OpenGL calls can ...
Required Dependencies Example code OpenVR with offscreen GLFW window Roadmap libGDX can be used to render to virtual reality headsets using LWJGL’s OpenVR (HTC Vive) and OVR (...
Before you start Introduction Creating and instantiating a NinePatch manually Create your scalable image Instantiate the NinePatch Limitations when instantiating in code Crea...
Project Layout What is Gradle? To setup your first project and download the necessary dependencies, libGDX offers a setup tool. Download the libGDX Project Setup Tool Ope...
How to use framebuffers Common Issues Nesting Hdpi Further resources Framebuffers allow users to render stuff to a texture instead of to the screen (= the backbuffer). This c...
Keyboard Mouse & Touch Touch Point The main input devices libGDX supports are the mouse on the desktop/browser, touch screens on Android and keyboards. Let’s review how libGDX ...
Setting up Box2D with libGDX Table of Contents Initialization Creating a World Debug Renderer Stepping the simulation Rendering Objects/Bodies Dynamic Bodies Static Bodies ...