Hey guys,
This is my first post so please let me know if I do anything wrong :D.
I am making a, yes another, minecraft clone. I am in imediate mode, and need some help with sprite sheets. I am using a sheet (attached) and it has sprites of the block textures 16x16 px.
The problem is that when I bind the subimage it renders the entire sheet.
Heres my code (need to clean it up, after I get it working :P):
http://pastebin.java-gaming.org/37d0f6c75191d (Block Renderer)
http://pastebin.java-gaming.org/7d0fc75791d10 (Sprite Sheet Manager)
http://pastebin.java-gaming.org/d0fc5897d101b (Current Texture Manager, singe file support)
Thanks for the help
PS: I’m using LWJGL and Slick