コード例 #1
0
 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);
 }
コード例 #2
0
  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);
  }