diff --git a/src/main/java/com/okseby/core/test/TestGame.java b/src/main/java/com/okseby/core/test/TestGame.java index dc8df29..a3ac6a5 100644 --- a/src/main/java/com/okseby/core/test/TestGame.java +++ b/src/main/java/com/okseby/core/test/TestGame.java @@ -33,7 +33,7 @@ public class TestGame implements ILogic { renderer.init(); Model model = loader.loadOBJModel("/models/cube.obj"); - model.setTexture(new Texture(loader.loadTexture("/textures/grassblock.jpg"))); + model.setTexture(new Texture(loader.loadTexture("/textures/bryan.jpg"))); entity = new Entity(model, new Vector3f(0, 0, -5), new Vector3f(0, 0, 0), 1); } @@ -44,14 +44,14 @@ public class TestGame implements ILogic { if (window.isKeyPressed(GLFW.GLFW_KEY_W)) cameraInc.z = -1; if (window.isKeyPressed(GLFW.GLFW_KEY_A)) - cameraInc.x = 1; + cameraInc.x = -1; if (window.isKeyPressed(GLFW.GLFW_KEY_S)) cameraInc.z = 1; if (window.isKeyPressed(GLFW.GLFW_KEY_D)) - cameraInc.x = -1; - if (window.isKeyPressed(GLFW.GLFW_KEY_Z)) + cameraInc.x = 1; + if (window.isKeyPressed(GLFW.GLFW_KEY_SPACE)) cameraInc.y = 1; - if (window.isKeyPressed(GLFW.GLFW_KEY_X)) + if (window.isKeyPressed(GLFW.GLFW_KEY_LEFT_SHIFT)) cameraInc.y = -1; } diff --git a/src/main/resources/textures/bryan.jpg b/src/main/resources/textures/bryan.jpg new file mode 100644 index 0000000..0cef3c2 Binary files /dev/null and b/src/main/resources/textures/bryan.jpg differ diff --git a/src/main/resources/textures/bryan.png b/src/main/resources/textures/bryan.png new file mode 100644 index 0000000..787c0c6 Binary files /dev/null and b/src/main/resources/textures/bryan.png differ diff --git a/src/main/resources/textures/dende.jpg b/src/main/resources/textures/dende.jpg new file mode 100644 index 0000000..ac78117 Binary files /dev/null and b/src/main/resources/textures/dende.jpg differ