diff --git a/src/main/java/com/github/hydos/ginger/Litecraft.java b/src/main/java/com/github/hydos/ginger/Litecraft.java index 04b7132..f9d165a 100644 --- a/src/main/java/com/github/hydos/ginger/Litecraft.java +++ b/src/main/java/com/github/hydos/ginger/Litecraft.java @@ -2,8 +2,6 @@ package com.github.hydos.ginger; import java.util.*; -import com.github.halotroop.litecraft.logic.Timer; -import com.github.halotroop.litecraft.logic.Timer.TickListener; import com.github.halotroop.litecraft.types.block.*; import com.github.hydos.ginger.engine.api.*; import com.github.hydos.ginger.engine.api.game.*; @@ -28,7 +26,7 @@ public class Litecraft extends Game{ private boolean isInWorld = false; public Litecraft() { - Constants.movementSpeed = 0.000005f; + Constants.movementSpeed = 0.00005f; Constants.turnSpeed = 0.00002f; Constants.gravity = -0.000000000005f; Constants.jumpPower = 0.000005f; @@ -137,7 +135,6 @@ public class Litecraft extends Game{ @Override public void update() { - data.camera.move(); data.player.move(null); GUIText text = ginger3D.gingerRegister.texts.get(0); diff --git a/src/main/java/com/github/hydos/ginger/engine/api/Ginger.java b/src/main/java/com/github/hydos/ginger/engine/api/Ginger.java index d3b5ebc..30b42b2 100644 --- a/src/main/java/com/github/hydos/ginger/engine/api/Ginger.java +++ b/src/main/java/com/github/hydos/ginger/engine/api/Ginger.java @@ -64,7 +64,6 @@ public class Ginger { public void update(GameData data) { data.camera.move(); - data.player.move(null); Window.update(); GingerUtils.update(); picker.update(); diff --git a/src/main/java/com/github/hydos/ginger/engine/api/game/GameData.java b/src/main/java/com/github/hydos/ginger/engine/api/game/GameData.java index a7397b6..c3207be 100644 --- a/src/main/java/com/github/hydos/ginger/engine/api/game/GameData.java +++ b/src/main/java/com/github/hydos/ginger/engine/api/game/GameData.java @@ -24,7 +24,7 @@ public class GameData { public Camera camera; public Vector4f clippingPlane; public boolean handleGuis = true; - public int tickSpeed = 0; + public int tickSpeed = 20; public GameData(Player player, Camera camera, int tickSpeed) { clippingPlane = new Vector4f(0, -1, 0, 100000);