|
|
@ -76,9 +76,10 @@ public final class Res { |
|
|
|
textures.addQuad("panel", gui.makeQuad(0, 3.75, 4, .25)); |
|
|
|
textures.addQuad("panel", gui.makeQuad(0, 3.75, 4, .25)); |
|
|
|
|
|
|
|
|
|
|
|
// sprites
|
|
|
|
// sprites
|
|
|
|
texture = textures.loadTexture("mob", "/res/img/dudes-b.png", FilterMode.NEAREST, WrapMode.CLAMP); |
|
|
|
texture = textures.loadTexture("mob", "/res/img/dudes.png", FilterMode.NEAREST, WrapMode.CLAMP); |
|
|
|
tiles = texture.grid(8, 8); |
|
|
|
tiles = texture.grid(8, 8); |
|
|
|
textures.addSheet("sprite.player", tiles.makeSheet(0, 0, 4, 1)); |
|
|
|
textures.addSheet("sprite.player", tiles.makeSheet(0, 0, 4, 1)); |
|
|
|
|
|
|
|
textures.addSheet("sprite.rat", tiles.makeSheet(0, 1, 4, 1)); |
|
|
|
|
|
|
|
|
|
|
|
// small sheet
|
|
|
|
// small sheet
|
|
|
|
texture = textures.loadTexture("tiles", "/res/img/tiles16.png", FilterMode.NEAREST, WrapMode.CLAMP); |
|
|
|
texture = textures.loadTexture("tiles", "/res/img/tiles16.png", FilterMode.NEAREST, WrapMode.CLAMP); |
|
|
|