Nouvelle arène dans match.java :pog:

This commit is contained in:
Antoine 2021-06-16 16:12:15 +02:00
parent 24fc20be39
commit 6dbfaa6e14

View File

@ -144,11 +144,11 @@ public class match {
boolean Joystick2Present = glfwJoystickPresent(GLFW_JOYSTICK_2);
String path = "textures/Sprite.png";
String pathToBG = "textures/background_beach.png";
String pathToBG = "textures/arena1.png";
ObjectGl background = new ObjectGl(0f,1f,1f,10f, pathToBG, null);
background.setTextureWrap(0,0,621, 224);
background.translate(new Vector3f(-3011.0f, 1400.0f, 1.0f));
ObjectGl background = new ObjectGl(0f,1f,1f,2.5f, pathToBG, null);
background.setTextureWrap(0, 0, 1914f, 701f);
background.translate(new Vector3f(-1000f, 1000f, 0f));
engine.add_objectGl(background);
p1 = CharacterBlue.generateCharBlue();