Search in sources :

Example 16 with LwjglApplicationConfiguration

use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project Alkahest-Coffee by AlkahestDev.

the class DesktopLauncher method main.

public static void main(String[] arg) {
    LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
    config.title = "Alkahest Coffee Corporation";
    /*config.fullscreen = true;
        config.width=999999; //TODO: make a better way of fullscreening : i made one in fakeMainGame, but the hitboxes dont work :/
        config.height=999999;*/
    config.width = 1280;
    config.height = 720;
    config.resizable = false;
    config.addIcon("badAlkahest.png", Files.FileType.Internal);
    new LwjglApplication(new MainGame(), config);
}
Also used : LwjglApplication(com.badlogic.gdx.backends.lwjgl.LwjglApplication) MainGame(me.dumfing.client.maingame.MainGame) LwjglApplicationConfiguration(com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)

Example 17 with LwjglApplicationConfiguration

use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project Alkahest-Coffee by AlkahestDev.

the class tester method main.

public static void main(String[] arg) {
    LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
    new LwjglApplication(new fakeMainGame(), config);
    config.width = 1080;
    config.height = 720;
}
Also used : LwjglApplication(com.badlogic.gdx.backends.lwjgl.LwjglApplication) LwjglApplicationConfiguration(com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)

Example 18 with LwjglApplicationConfiguration

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);
}
Also used : LwjglApplication(com.badlogic.gdx.backends.lwjgl.LwjglApplication) LwjglApplicationConfiguration(com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration) MyFirstGame(com.mygdx.game.MyFirstGame)

Example 19 with LwjglApplicationConfiguration

use of com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration in project nhglib by VoidZombie.

the class DesktopLauncher method main.

public static void main(String[] arg) {
    LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
    config.width = 1280;
    config.height = 720;
    new LwjglApplication(new Main(), config);
}
Also used : LwjglApplication(com.badlogic.gdx.backends.lwjgl.LwjglApplication) LwjglApplicationConfiguration(com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration) Main(io.github.voidzombie.tests.Main)

Aggregations

LwjglApplication (com.badlogic.gdx.backends.lwjgl.LwjglApplication)19 LwjglApplicationConfiguration (com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)19 GdxTest (com.badlogic.gdx.tests.utils.GdxTest)2 RubeLoaderTest (com.gushikustudios.rube.RubeLoaderTest)2 AmazingMazeGame (ca.hiphiparray.amazingmaze.AmazingMazeGame)1 ApplicationAdapter (com.badlogic.gdx.ApplicationAdapter)1 ApplicationListener (com.badlogic.gdx.ApplicationListener)1 DisplayMode (com.badlogic.gdx.Graphics.DisplayMode)1 FileHandle (com.badlogic.gdx.files.FileHandle)1 Color (com.badlogic.gdx.graphics.Color)1 PixmapPacker (com.badlogic.gdx.graphics.g2d.PixmapPacker)1 FreeTypeFontGenerator (com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator)1 BitmapFontWriter (com.badlogic.gdx.tools.bmfont.BitmapFontWriter)1 Settings (com.badlogic.gdx.tools.texturepacker.TexturePacker.Settings)1 GdxRuntimeException (com.badlogic.gdx.utils.GdxRuntimeException)1 BdxApp (com.comp.proj.BdxApp)1 MyFirstGame (com.mygdx.game.MyFirstGame)1 Main (io.github.voidzombie.tests.Main)1 File (java.io.File)1 IOException (java.io.IOException)1