use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project Eidolons by IDemiurge.
the class DemoLauncher method getConf.
public LwjglApplicationConfiguration getConf() {
// Eidolons. getApplication().getGraphics().setFullscreenMode();
LwjglApplicationConfiguration conf = new LwjglApplicationConfiguration();
conf.title = getTitle();
// if (Gdx.graphics.isGL30Available())
conf.useGL30 = true;
conf.resizable = false;
OptionsMaster.init();
conf.fullscreen = false;
fullscreen = OptionsMaster.getGraphicsOptions().getBooleanValue(GRAPHIC_OPTION.FULLSCREEN);
conf.foregroundFPS = FRAMERATE;
conf.backgroundFPS = isStopOnInactive() ? -1 : FRAMERATE;
conf.vSyncEnabled = OptionsMaster.getGraphicsOptions().getBooleanValue(GRAPHIC_OPTION.VSYNC);
initResolution(conf);
initIcon(conf);
return conf;
}
use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project GoGoLand by MarkusRa1.
the class Main method main.
public static void main(String[] arg) {
reader = new ReadFromGo();
// new Thread(reader).start();
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
config.title = "GoGoLand";
config.width = 1280;
config.height = 800;
new LwjglApplication(new Graphics(), config);
}
use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project TH902 by cn-s3bit.
the class Launcher method main.
/**
* Entry point.
*/
public static void main(String[] args) {
Game game = new GameMain(new PlatformRelatedInterfaces() {
@Override
public IFont getFont(String fontName, boolean isBold, boolean isItalic, int size) {
FreetypeFont font = new FreetypeFont();
font.initialize(fontName, isBold, isItalic, size);
return font;
}
@Override
public void setFPS(int fps) {
config.foregroundFPS = fps;
}
@Override
public String[] getCommandLineParams() {
return args;
}
});
config = new LwjglApplicationConfiguration();
config.fullscreen = false;
config.width = 960;
config.height = 720;
config.resizable = false;
config.title = GameMain.GAME_TITLE;
config.foregroundFPS = 60;
config.addIcon("resources/icon32.png", FileType.Internal);
lwjglApplication = new LwjglApplication(game, config);
}
use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project high-flyer by sangngh.
the class DesktopLauncher method main.
public static void main(String[] arg) {
GameSettings settings = new GameSettings(AspectRatio.STANDARD.calculateWidth(600), 600);
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
config.title = "High Flyer - Soars to the sky!";
config.useGL30 = false;
config.height = settings.getWindowHeight();
config.width = settings.getWindowWidth();
new LwjglApplication(new GameEngine(settings, new GameState(), ScreenManager.INSTANCE), config);
}
Aggregations