Back to project page bbg-gdx-project-setup.
The source code is released under:
MIT License
If you think the Android project bbg-gdx-project-setup listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.bluebananagames.gametemplate; // ww w . j a va 2 s . c om import com.badlogic.gdx.backends.lwjgl.LwjglApplication; import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; public class Main { private static final boolean FS_720P = true; public static void main(String[] args) { LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration(); cfg.title = "Game Template"; cfg.useGL20 = true; if (FS_720P) { cfg.width = 1280; cfg.height = 720; cfg.fullscreen = false; } else { cfg.width = 1920; cfg.height = 1080; cfg.fullscreen = false; } new LwjglApplication(new GameTemplateGame(), cfg); } }