com.badlogic.gdx.backends.lwjgl.LwjglApplication Java Examples
The following examples show how to use
com.badlogic.gdx.backends.lwjgl.LwjglApplication.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DesktopLauncher.java From ud406 with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new GigaGalGame(), config); }
Example #2
Source File: DesktopBatchTestLauncher.java From gdx-gltf with Apache License 2.0 | 5 votes |
public static void main (String[] arg) { // required for HTTPS requests System.setProperty("https.protocols", "TLSv1,TLSv1.1,TLSv1.2"); LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 1024; config.height = 768; new LwjglApplication(arg.length > 0 ? new GLTFTest(arg[0]) : new GLTFTest(), config); }
Example #3
Source File: TypingLabelTest.java From typing-label with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.title = "TypingLabel Test"; config.width = 720; config.height = 405; config.depth = 16; config.fullscreen = false; config.resizable = false; config.foregroundFPS = 60; config.backgroundFPS = 60; new LwjglApplication(new TypingLabelTest(), config); }
Example #4
Source File: DesktopLauncher.java From ud406 with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new GigaGalGame(), config); }
Example #5
Source File: DesktopLauncher.java From Klooni1010 with GNU General Public License v3.0 | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.title = "Klooni 1010!"; config.width = Klooni.GAME_WIDTH; config.height = Klooni.GAME_HEIGHT; config.addIcon("ic_launcher/icon128.png", Files.FileType.Internal); config.addIcon("ic_launcher/icon32.png", Files.FileType.Internal); config.addIcon("ic_launcher/icon16.png", Files.FileType.Internal); new LwjglApplication(new Klooni(null), config); }
Example #6
Source File: DesktopLauncher.java From Skyland with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 1280; config.height = 720; config.resizable = false; new LwjglApplication(new Skyland(), config); }
Example #7
Source File: DesktopLauncher.java From ud406 with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new GigaGalGame(), config); }
Example #8
Source File: DesktopLauncher.java From ud406 with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new GigaGalGame(), config); }
Example #9
Source File: DesktopLauncher.java From libgdx-2d-tutorial with MIT License | 5 votes |
public static void main (String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.foregroundFPS = 60; config.width = SpaceGame.WIDTH; config.height = SpaceGame.HEIGHT; config.resizable = true; config.addIcon("icon_128.png", FileType.Internal); config.addIcon("icon_32.png", FileType.Internal); config.addIcon("icon_16.png", FileType.Internal); new LwjglApplication(new SpaceGame(), config); }
Example #10
Source File: DesktopLauncher.java From ud406 with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new GigaGalGame(), config); }
Example #11
Source File: Runner.java From cocos-ui-libgdx with Apache License 2.0 | 5 votes |
public static void main(String[] args) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); //config.width = DemoGame.GAME_WIDTH; // config.height = DemoGame.GAME_HEIGHT; //以下作为assetmanager使用 config.width = 1280; config.height = 720; new LwjglApplication(new DemoGame(), config); }
Example #12
Source File: DesktopLauncher.java From ud406 with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new GigaGalGame(), config); }
Example #13
Source File: AudioGdxPatchTest.java From gdx-pd with Apache License 2.0 | 5 votes |
public static void main(String[] args) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); new LwjglApplication(new Game(){ @Override public void create() { // just play a patch Pd.audio.create(new PdConfiguration()); Pd.audio.open(Gdx.files.local("resources/test.pd")); } }, config); }
Example #14
Source File: DesktopLauncher.java From ud406 with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new GigaGalGame(), config); }
Example #15
Source File: DesktopLauncher.java From ud406 with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new GigaGalGame(), config); }
Example #16
Source File: MatchOne.java From Entitas-Java with MIT License | 5 votes |
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); }
Example #17
Source File: Examples.java From Entitas-Java with MIT License | 5 votes |
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); }
Example #18
Source File: DesktopLauncher.java From ud406 with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new GigaGalGame(), config); }
Example #19
Source File: DS1Viewer.java From riiablo with Apache License 2.0 | 5 votes |
public static void main(String[] args) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.title = "DS1 Viewer"; config.resizable = true; config.width = 1280; config.height = 720; config.foregroundFPS = config.backgroundFPS = 144; DS1Viewer client = new DS1Viewer(); new LwjglApplication(client, config); }
Example #20
Source File: DesktopLauncher.java From ud406 with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new GigaGalGame(), config); }
Example #21
Source File: DesktopLauncher.java From ud406 with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new GigaGalGame(), config); }
Example #22
Source File: FontMetricsTool.java From riiablo with Apache License 2.0 | 5 votes |
public static void main(String[] args) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.title = TAG; config.resizable = true; config.width = 800; config.height = 600; config.foregroundFPS = config.backgroundFPS = 144; new LwjglApplication(new FontMetricsTool(args[0], args[1]), config); }
Example #23
Source File: AnimationTool.java From riiablo with Apache License 2.0 | 5 votes |
public static void main(String[] args) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.title = TAG; config.resizable = true; config.width = 256; config.height = 384; config.vSyncEnabled = false; config.foregroundFPS = config.backgroundFPS = 144; new LwjglApplication(new AnimationTool(args[0]), config); }
Example #24
Source File: DesktopLauncher.java From ud406 with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new GigaGalGame(), config); }
Example #25
Source File: DesktopLauncher.java From ud406 with MIT License | 5 votes |
public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new GigaGalGame(), config); }
Example #26
Source File: DesktopLauncher.java From shapedrawer with MIT License | 5 votes |
public static void main (String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 1200; config.height = 800; config.resizable = false; config.samples = 4; new LwjglApplication(new ShapeDrawerTest(), config); }
Example #27
Source File: DesktopLauncher.java From ud406 with MIT License | 4 votes |
public static void main (String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); new LwjglApplication(new GigaGalGame(), config); }
Example #28
Source File: DesktopLauncher.java From ud405 with MIT License | 4 votes |
public static void main (String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); new LwjglApplication(new IciclesGame(), config); }
Example #29
Source File: DesktopLauncher.java From ud405 with MIT License | 4 votes |
public static void main (String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); new LwjglApplication(new IciclesGame(), config); }
Example #30
Source File: DesktopLauncher.java From ud405 with MIT License | 4 votes |
public static void main (String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); new LwjglApplication(new ScreenSaver(), config); }