Esempio n. 1
0
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.width = 1280;
   config.height = 720;
   config.resizable = false;
   new LwjglApplication(new Skyland(), config);
 }
Esempio n. 2
0
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.title = "Drop";
   config.width = 800;
   config.height = 480;
   new LwjglApplication(new Drop(), config);
 }
Esempio n. 3
0
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.title = "BlackJack!";
   config.height = 772;
   config.width = 1286;
   new LwjglApplication(new BlackJackGame(), config);
 }
Esempio n. 4
0
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.title = "10,000 Leagues above the Sea";
   config.width = 1920;
   config.height = 1080;
   new LwjglApplication(new THLGame(), config);
 }
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.title = "Go Go Helicopter";
   config.width = 272;
   config.height = 408;
   new LwjglApplication(new GGHGame(), config);
 }
  @BeforeClass
  public static void setUp() {
    duckGame = new DuckGame();

    LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
    config.width = 1280;
    config.height = 720;
    config.resizable = false;
    config.title = "SUPER DUCK INVADERS! - Team Mallard";
    new LwjglApplication(duckGame, config);

    while (duckGame.onGameScreen == false) {
      try {
        Thread.sleep(100);
      } catch (InterruptedException e) {
        e.printStackTrace();
      }
    }
    testRound = new Round(duckGame, Assets.levelOneMap);
    try {
      Thread.sleep(200);
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
  }
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.title = "Sliding Squares";
   config.width = 240;
   config.height = 320;
   new LwjglApplication(new SlidingSquaresGame(), config);
 }
 public static void main(String[] arg) {
   GalacticInvaders.instantiateSettings();
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.width = Settings.getWidth();
   config.height = Settings.getHeight();
   new LwjglApplication(new GalacticInvaders(), config);
 }
 public static void main(String[] arg) {
   LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
   cfg.title = "Animus";
   cfg.width = 960;
   cfg.height = 640;
   new LwjglApplication(new Animus(), cfg);
 }
Esempio n. 10
0
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.width = MyGdxGame.V_WIDTH * MyGdxGame.SCALE;
   config.height = MyGdxGame.V_HEIGHT * MyGdxGame.SCALE;
   config.title = MyGdxGame.TITLE;
   new LwjglApplication(new MyGdxGame(), config);
 }
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.title = "Burning Maze";
   config.width = 1200;
   config.height = 675;
   new LwjglApplication(new KumQuat(), config);
 }
  @Nonnull
  private GraphicResolution getFittingFullScreenResolution(int width, int height) {
    GraphicResolution[] resolutions = getFullScreenResolutions();
    int freq = 0;

    @Nullable GraphicResolution targetDisplayMode = null;
    for (@Nonnull GraphicResolution current : resolutions) {
      if ((current.getWidth() == width) && (current.getHeight() == height)) {
        if ((targetDisplayMode == null)
            || ((current.getRefreshRate() >= freq)
                && (current.getBPP() > targetDisplayMode.getBPP()))) {
          targetDisplayMode = current;
          freq = targetDisplayMode.getRefreshRate();
        }

        if ((current.getBPP() == LwjglApplicationConfiguration.getDesktopDisplayMode().bitsPerPixel)
            && (current.getRefreshRate()
                == LwjglApplicationConfiguration.getDesktopDisplayMode().refreshRate)) {
          targetDisplayMode = current;
          break;
        }
      }
    }

    if (targetDisplayMode == null) {
      Graphics.DisplayMode mode = LwjglApplicationConfiguration.getDesktopDisplayMode();
      return new GraphicResolution(mode.width, mode.height, mode.bitsPerPixel, mode.refreshRate);
    }
    return targetDisplayMode;
  }
Esempio n. 13
0
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.title = "Zombie Shooter";
   config.width = 1280;
   config.height = 720;
   new LwjglApplication(new MyGdxGame(), config);
 }
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.width = MarioBros.V_WIDTH * 2;
   config.height = MarioBros.V_HEIGHT * 2;
   config.title = "Mario Bros";
   new LwjglApplication(new MarioBros(), config);
 }
Esempio n. 15
0
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.title = "MinerWars";
   config.width = 800;
   config.height = 600;
   new LwjglApplication(new MinerWars(), config);
 }
Esempio n. 16
0
  public static void main(String[] arg) {
    LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();

    config.width = 1280;
    config.height = 720;

    new LwjglApplication(new FlappyBird(), config);
  }
Esempio n. 17
0
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.title = "Texas";
   config.height = 600;
   config.width = 800;
   GUIlibgdx app = new GUIlibgdx();
   new LwjglApplication(app, config);
 }
  public static void main(String[] arg) {

    LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
    config.title = "hello-world";
    config.width = 800;
    config.height = 600;
    new LwjglApplication(new MyGdxGame(), config);
  }
Esempio n. 19
0
  public static void main(String[] args) {
    LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
    cfg.width = 800;
    cfg.height = 600;
    cfg.useGL20 = true; // 90% or more of your desktop users should support GL20

    new LwjglApplication(new SimpleTest(), cfg);
  }
Esempio n. 20
0
  public static void main(String[] args) {
    LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
    cfg.title = "SoundHealing";
    cfg.width = 720;
    cfg.height = 1280;

    new LwjglApplication(new MainScene(), cfg);
  }
Esempio n. 21
0
  public static void main(String[] args) {
    LwjglApplicationConfiguration configuracion = new LwjglApplicationConfiguration();
    configuracion.title = "Box2D Joints";
    configuracion.width = 1024;
    configuracion.height = 768;

    new LwjglApplication(new MyWorld(), configuracion);
  }
 /**
  * Runs the game on a desktop computer
  *
  * @param arg command line args -- not used
  */
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.title = Malice.TITLE + " v" + Malice.VERSION;
   config.vSyncEnabled = true;
   config.width = Malice.GAME_WIDTH;
   config.height = Malice.GAME_HEIGHT;
   new LwjglApplication(new Malice(), config);
 }
 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);
 }
Esempio n. 24
0
  public static void main(String[] args) {
    LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
    cfg.title = "TestTileMap";
    cfg.width = 1300;
    cfg.height = 800;

    new LwjglApplication(new HappyPotterMain(), cfg);
  }
Esempio n. 25
0
  public static void main(String[] arg) {
    LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();

    config.width = Banna.WIDTH;
    config.height = Banna.HEIGHT;
    config.title = Banna.TITLE;
    new LwjglApplication(new Banna(Banna.WIDTH, Banna.HEIGHT), config);
  }
Esempio n. 26
0
 public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.width = 1024;
   config.height = 768;
   WorldView listener = new WorldView();
   LwjglApplication lwjglApplication = new LwjglApplication(listener, config);
   listener.setWidth(config.width);
   listener.setHeigth(config.height);
 }
  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);
  }
Esempio n. 28
0
  public static void main(String[] args) {
    LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
    cfg.title = "Motherboard";
    cfg.useGL20 = false;
    cfg.width = 800;
    cfg.height = 600;

    new LwjglApplication(new Game(), cfg);
  }
 public static void main(String[] args) throws Exception {
   LwjglApplicationConfiguration.disableAudio = true;
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.width = 800;
   config.height = 600;
   config.title = "Skeleton Viewer";
   config.allowSoftwareMode = true;
   new LwjglApplication(new SkeletonViewer(), config);
 }
Esempio n. 30
0
  public static void main(String[] args) {
    LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
    cfg.title = "Musiz";
    cfg.useGL20 = false;
    cfg.width = 800;
    cfg.height = 450;

    new LwjglApplication(new Musiz(), cfg);
  }