-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Learning Libgdx Game Development
Libgdx makes use of several other libraries to interface the specifics of each platform in order to provide cross-platform support for your applications. Generally, a backend is what enables Libgdx to access the corresponding platform functionalities when one of the abstracted (platform-independent) Libgdx methods is called. For example, drawing an image to the upper-left corner of the screen, playing a sound file at a volume of 80 percent, or reading and writing from/to a file.
Libgdx currently provides the following three backends:
LWJGL (Lightweight Java Game Library)
Android
JavaScript/WebGL
As already mentioned in Chapter 1, Introduction to Libgdx and Project Setup, there will also be an iOS backend in the near future.
LWJGL (Lightweight Java Game Library) is an open source Java library originally started by Caspian Rychlik-Prince to ease game development in terms of accessing the hardware resources on desktop systems. In Libgdx, it is used for...
Change the font size
Change margin width
Change background colour