public static void main(String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.title = "Hackathon Game"; config.useGL30 = false; config.width = MainGameClass.WIDTH; config.height = MainGameClass.HEIGHT; new LwjglApplication(new MainGameClass(), config); }
public static void main(String[] arg) { LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration(); cfg.title = "my-gdx-game"; cfg.useGL30 = false; cfg.width = 1280; cfg.height = 720; new LwjglApplication(new MyGdxGame(), cfg); }