use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project AmazingMaze by TheVirtualMachine.
the class DesktopLauncher method main.
public static void main(String[] arg) {
System.setProperty("org.lwjgl.opengl.Display.allowSoftwareOpenGL", "true");
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
DisplayMode displayMode = LwjglApplicationConfiguration.getDesktopDisplayMode();
config.setFromDisplayMode(displayMode);
config.title = "Amazing Maze";
config.vSyncEnabled = true;
config.foregroundFPS = 0;
config.addIcon("icons/128.png", FileType.Internal);
config.addIcon("icons/32.png", FileType.Internal);
config.addIcon("icons/16.png", FileType.Internal);
new LwjglApplication(new AmazingMazeGame(), config);
}
use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project Entitas-Java by Rubentxu.
the class Examples method main.
public static void main(String[] arg) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
preferencesManager = new PreferencesManagerGDX();
config.title = preferencesManager.APP_NAME;
config.width = preferencesManager.VIRTUAL_DEVICE_WIDTH;
config.height = preferencesManager.VIRTUAL_DEVICE_HEIGHT;
new LwjglApplication(new Examples(), config);
}
use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project Entitas-Java by Rubentxu.
the class MatchOne method main.
public static void main(String[] arg) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
config.title = "BASIC";
config.width = SCREEN_WIDTH;
config.height = SCREEN_HEIGHT;
new LwjglApplication(new MatchOne(), config);
}
use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project Entitas-Java by Rubentxu.
the class Pong method main.
public static void main(String[] arg) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
config.title = "BASIC";
config.width = SCREEN_WIDTH;
config.height = SCREEN_HEIGHT;
new LwjglApplication(new Pong(), config);
}
use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project Alkahest-Coffee by AlkahestDev.
the class ServerDesktop method main.
public static void main(String[] args) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
new LwjglApplication(new CoffeeServer(), config);
}
Aggregations