use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project myFirstGame by Juicebox47.
the class DesktopLauncher method main.
public static void main(String[] arg) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
config.width = Configuration.WIDTH;
config.height = Configuration.HEIGHT;
config.title = Configuration.title;
new LwjglApplication(new MyFirstGame(), config);
}
use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project libgdx-inGameConsole by StrongJoshua.
the class StageTest method main.
public static void main(String[] args) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
new LwjglApplication(new StageTest(), config);
}
use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project var3dframe by Var3D.
the class VDesktopLauncher method getConfig.
public static LwjglApplicationConfiguration getConfig(int width, int height, float scale) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
config.width = (int) (width * scale);
config.height = (int) (height * scale);
config.samples = 4;
return config;
}
use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project Red-Team by CSC480-18S.
the class DesktopLauncher method main.
public static void main(String[] arg) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
// config.fullscreen = true;
config.height = 1080;
config.width = 1920;
if (arg.length == 0)
new LwjglApplication(new GameAdapter(), config);
else if (arg[0].compareTo("-stats") == 0)
new LwjglApplication(new StatsAdapter(), config);
}
use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project Eidolons by IDemiurge.
the class TestVideoMaster method getConf.
protected static LwjglApplicationConfiguration getConf() {
// Eidolons. getApplication().getGraphics().setFullscreenMode();
LwjglApplicationConfiguration conf = new LwjglApplicationConfiguration();
conf.title = "Eidolons: Battlecraft v" + Launcher.VERSION;
// if (Gdx.graphics.isGL30Available())
conf.useGL30 = true;
OptionsMaster.init();
// false;
conf.fullscreen = OptionsMaster.getGraphicsOptions().getBooleanValue(GRAPHIC_OPTION.FULLSCREEN);
conf.foregroundFPS = 60;
conf.backgroundFPS = -1;
conf.width = 1600;
conf.height = 900;
return conf;
}
Aggregations