mattdesl/lwjgl-basics
mattdesl/lwjgl-basics has 1,892 GitHub stars and 179 forks. GitHot measured 0 stars in 24 hours and -1 in 7 days. Last checked 2026-11-11 14:42 UTC. Last push 2019-05-23.
:wrench: LibGDX/LWJGL tutorials and examples
Measured star growth
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originallwjgl-basics is a minimal shader-based library for 2D LWJGL sprite games. It provides essential utilities for handling textures, shaders, and sprite rendering.
For a large game project, a platform like LibGDX may be more suitable.
The source code is hosted on GitHub.
OpenGL & Shader Tutorials
The Wiki also hosts various OpenGL and GLSL tutorials:
https://github.com/mattdesl/lwjgl-basics/wiki
Installing the API
The best way to install the API is to use Eclipse and EGit (or another IDE with Git support) to pull the most recent source code. Included in the lib and native folder is a distribution of LWJGL 2.8.5, as well as an Eclipse project with class path set up for you. You can download newer versions of LWJGL from their downloads page.
Alternatively, you can download the full library as a ZIP:

Then, simply open the Eclipse project to start testing. Ensure your LWJGL JARs and natives have been set correctly in Eclipse, NetBeans or IntelliJ, and include lwjgl-basics as a class library. lwjgl-basics also uses PNGDecoder.jar as a dependency, which can be downloaded here.
See the tests package to get started with some basic examples.
Credits
- PNG decoder by Matthias Mann
- PT Font
- Grass & Water Tileset
- Tiling textures
- 2D Game Scene
- Code written by Matt DesLauriers (aka: davedes or mattdesl) unless otherwise stated.
Explore related projects
sindresorhus/awesome
😎 Awesome lists about all kinds of interesting topics [NOTE: Pull requests are temporarily disabled until I have a chance to catch up with the existing ones]
535,297 starsEbookFoundation/free-programming-books
:books: Freely available programming books
401,422 starsnilbuild/developer-roadmap
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
371,828 starsvinta/awesome-python
The definitive list that answers "I want to do X in Python, which tool should I use?"
334,079 stars