Search in sources :

Example 36 with LwjglApplication

use of com.badlogic.gdx.backends.lwjgl.LwjglApplication 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 37 with LwjglApplication

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

Example 38 with LwjglApplication

use of com.badlogic.gdx.backends.lwjgl.LwjglApplication 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);
}
Also used : LwjglApplication(com.badlogic.gdx.backends.lwjgl.LwjglApplication) LwjglApplicationConfiguration(com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration) StatsAdapter(com.csc480.stats.StatsAdapter) GameAdapter(com.csc480.game.GameAdapter)

Example 39 with LwjglApplication

use of com.badlogic.gdx.backends.lwjgl.LwjglApplication in project Eidolons by IDemiurge.

the class TransparentLauncher method prestart.

public static void prestart() {
    DC_Engine.systemInit();
    Eidolons.setApplication(new LwjglApplication(new TransparentLauncher(), getConf()));
}
Also used : LwjglApplication(com.badlogic.gdx.backends.lwjgl.LwjglApplication)

Example 40 with LwjglApplication

use of com.badlogic.gdx.backends.lwjgl.LwjglApplication in project Eidolons by IDemiurge.

the class PreLauncher method prestart.

public static void prestart() {
    DC_Engine.systemInit();
    Eidolons.setApplication(new LwjglApplication(new PreLauncher(), getConf()));
}
Also used : LwjglApplication(com.badlogic.gdx.backends.lwjgl.LwjglApplication)

Aggregations

LwjglApplication (com.badlogic.gdx.backends.lwjgl.LwjglApplication)41 LwjglApplicationConfiguration (com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)37 GdxTest (com.badlogic.gdx.tests.utils.GdxTest)2 RubeLoaderTest (com.gushikustudios.rube.RubeLoaderTest)2 File (java.io.File)2 AmazingMazeGame (ca.hiphiparray.amazingmaze.AmazingMazeGame)1 GameMain (cn.s3bit.th902.GameMain)1 PlatformRelatedInterfaces (cn.s3bit.th902.PlatformRelatedInterfaces)1 IFont (cn.s3bit.th902.utils.IFont)1 ApplicationAdapter (com.badlogic.gdx.ApplicationAdapter)1 ApplicationListener (com.badlogic.gdx.ApplicationListener)1 Game (com.badlogic.gdx.Game)1 DisplayMode (com.badlogic.gdx.Graphics.DisplayMode)1 LwjglPreferences (com.badlogic.gdx.backends.lwjgl.LwjglPreferences)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