"fix3d"
parent
b61bce8117
commit
faa5b33e00
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue