In the example below, a rotation matrix is defined and set, followed by drawing of the words “Hello World”. To lower the bar to entry, the ApplicationListener interface has the common methods, most important the render() method, which is automatically called in a loop. There are already good comprehensive tutorials out there, so this article will only present the “Hello World” example with a small animation.Īs opposed to basic OpenGL libraries, LibGDX and LWJGL offer a complete framework for creating a game, animations or interactions. The desktop variations use the Lightweight Java Game Library (LWJGL), with OpenGL support. It supports Windows, Gnu/Linux, Android, iOS, Mac, and web. LibGDX is a cross-platform Java game development library.
0 Comments
Leave a Reply. |