mattdesl/lwjgl-basics
关于
:wrench: LibGDX/LWJGL 教程和示例
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- -1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文lwjgl-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.
探索相关项目
加载中…