diff --git a/src/gameplay/match/match.java b/src/gameplay/match/match.java index 3c6329b..cc4535e 100644 --- a/src/gameplay/match/match.java +++ b/src/gameplay/match/match.java @@ -41,7 +41,7 @@ public class match { /** * the level of the "ground", used to determine if a character is in the air or not. */ - private static final int groundLevel = 1700; + private static final int groundLevel = -400; private static int timer; private static InputBuffer inputsP1, inputsP2; @@ -70,9 +70,9 @@ public class match { inputsP1 = new InputBuffer(inputBufferSize); inputsP2 = new InputBuffer(inputBufferSize); p1.setPos(-750, groundLevel); //TODO : change to better values if needed - p2.setPos(-750, groundLevel); //TODO : change to better values if needed + p2.setPos((int) (750 - objP2.getWidth() * objP2.getScalingFactor()), groundLevel); //TODO : change to better values if needed objP1.translate(new Vector3f(p1.getPosX(),p1.getPosY(),0)); - objP1.translate(new Vector3f(p2.getPosX(),p2.getPosY(),0)); + objP2.translate(new Vector3f(p2.getPosX(),p2.getPosY(),0)); } /**