Competition Forum > Code/Game releases
Framework: A bunch of small LWJGL help classes...
(1/1)
RedFlames:
Nothing fancy here, but I guess I should post these anyways.
I'm not bothering with git right now, as these are 3 small java classes. So I just threw them into pastebin...
LWJGL_Texture.java
Loads an image as a texture and contains some basic values / functions.
LWJGL_Sprite.java
A simple Sprite class that loads a texture and can be pasted to the screen via a Quad.
LWJGL_Font.java
A very basic class for drawing text to the screen. I needed something, so this just loads a texture like this and does some U/V Coordinate magical thingymagik. I'd somehow not recommend this to anyone but me, as it is a pretty restricted font system xD
And that's all I have as a framework... *looks through old projects* Oh hey hold on, there's more useable stuff actually!
GameTime.java
Just a few functions to calculate the FPS and enable timer-based movement (sorta, I guess?)
Renderer.java
Wraps up the initialization of LWJGL and loads the font, gives you a "print" function and other stuff.
...These are mainly all there to make the main file less messy I guess.
Hifagata:
I want everyone to get involved. Harmony and well.
Gastoner:
Well done. It's so good for knowledge
Chrsitavorius:
We need to post new posts for new members.
Navigation
[0] Message Index
Go to full version