feat: gestion des viewports

This commit is contained in:
Nicolas Hordé 2015-06-17 01:13:55 +02:00
parent b921df2cb8
commit 0450d23b28
1 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,8 @@ package fr.evolving.game.desktop;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import fr.evolving.assets.AssetLoader;
import fr.evolving.game.main;
public class DesktopLauncher {
@ -10,9 +12,10 @@ public class DesktopLauncher {
//config.fullscreen = true;
//config.width = 1920;
//config.height = 1080;
config.fullscreen = false;
config.width = 1280;
config.height = 1024;
config.width = AssetLoader.width;
config.height = AssetLoader.height;
new LwjglApplication(new main(), config);
}
}