diff --git a/Projekte/monopoly/client/client.properties b/Projekte/monopoly/client/client.properties index 3e2d911..fd98968 100644 --- a/Projekte/monopoly/client/client.properties +++ b/Projekte/monopoly/client/client.properties @@ -24,10 +24,10 @@ overlay.top.color=1, 1, 1, 1 settings.show=false # # Specifies the width of the application window in pixels. -settings.resolution.width=1200 +settings.resolution.width=1920 # # Specifies the height of the application window in pixels. -settings.resolution.height=800 +settings.resolution.height=1080 # # Determines whether the application runs in full-screen mode. settings.full-screen=false diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/CameraController.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/CameraController.java index 4c0a3d5..a2d04cf 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/CameraController.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/CameraController.java @@ -51,10 +51,10 @@ public class CameraController { } private Vector3f fieldIdToVector(int fieldID) { - if (fieldID <= 10) return new Vector3f(4,height,0); - if (fieldID <= 20) return new Vector3f(0, height, 4); - if (fieldID <= 30) return new Vector3f(-4, height, 0); - if (fieldID <= 40) return new Vector3f(0, height, -4); + if (fieldID <= 10) return new Vector3f(30,height,0); + if (fieldID <= 20) return new Vector3f(0, height, 30); + if (fieldID <= 30) return new Vector3f(-30, height, 0); + if (fieldID <= 40) return new Vector3f(0, height, -30); else throw new IllegalArgumentException(); } } diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/TestWorld.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/TestWorld.java index 2a5e4e0..e88b030 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/TestWorld.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/TestWorld.java @@ -48,7 +48,7 @@ public class TestWorld { app.getCamera(), // Die Kamera der App Vector3f.ZERO, // Fokus auf die Mitte des Spielfelds 4, // Radius des Kreises - 2, // Höhe der Kamera + 15, // Höhe der Kamera 0 // Geschwindigkeit der Bewegung ); @@ -82,7 +82,7 @@ public class TestWorld { */ private void createBoard() { // Erstelle ein Quadrat - Box box = new Box(1, 0.01f, 1); // Dünnes Quadrat für die Textur + Box box = new Box(10, 0.1f, 10); // Dünnes Quadrat für die Textur Geometry geom = new Geometry("Board", box); // Setze das Material mit Textur