Examples of LwjglApplication


Examples of cc.plural.ecs.provider.LWJGLApplication

        applicationConfiguration.title = "ECS Prototype 3";
        applicationConfiguration.width = 960;
        applicationConfiguration.height = 600;
        applicationConfiguration.resizable = true;
        applicationConfiguration.backGroundColor = Color.LIGHT_GREY;
        LWJGLApplication application = new LWJGLApplication(new RuntimeApplication(), applicationConfiguration);
        application.start();
    }
View Full Code Here

Examples of com.badlogic.gdx.backends.lwjgl.LwjglApplication

    /**Init game with splashs*/
    Cactus2DApplication game = new Cactus2DApplication();
    game.loadLevel(new SplashLevel());

    /**Create window of the game*/
    new LwjglApplication(game, "Terremoto", width, height, false);
   
  }
View Full Code Here

Examples of com.badlogic.gdx.backends.lwjgl.LwjglApplication

        m_particleActors = new HashMap<>();
        m_deletedParticleActors = new ArrayList<>();
        //Start the visualisation
        m_gameGDX = new GameGDX(config.fullscreen);

        m_application = new LwjglApplication(m_gameGDX, config);
    }
View Full Code Here

Examples of com.badlogic.gdx.backends.lwjgl.LwjglApplication

    config.samples = 0;
    config.depth = 0;
    config.vSyncEnabled = true;
    config.fullscreen = false;

    new LwjglApplication( new PostProcessingDemo(), config );

    if( UseRightScreen ) {
      // move the window to the right screen
      GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
      GraphicsDevice primary = env.getDefaultScreenDevice();
View Full Code Here

Examples of com.badlogic.gdx.backends.lwjgl.LwjglApplication

    public static void main(String[] args) {
        LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
        cfg.title = "Outrun";
        cfg.width = 853;
        cfg.height = 480;
        new LwjglApplication(new DeathRaceGame(), cfg);
    }
View Full Code Here

Examples of com.badlogic.gdx.backends.lwjgl.LwjglApplication

  public static void main(String[] args){
    LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
    config.width = 640;
    config.height = 480;
   
    new LwjglApplication(new MainClass(), config);
  }
View Full Code Here

Examples of com.badlogic.gdx.backends.lwjgl.LwjglApplication

    config.title = "Fluid Simulator";
    config.vSyncEnabled = false;
    config.width = (int)Toolkit.getDefaultToolkit().getScreenSize().getWidth();
    config.height = (int)Toolkit.getDefaultToolkit().getScreenSize().getHeight();
    config.useGL20 = false;
    new LwjglApplication(new FluidSimulatorStarter(), config);
  }
View Full Code Here

Examples of com.badlogic.gdx.backends.lwjgl.LwjglApplication

        cfg.title = "TimedStrategy";
        cfg.useGL20 = true;
        cfg.width = 1024;
        cfg.height = 768;
        cfg.resizable = false;
        new LwjglApplication(new Main(), cfg);
    }
View Full Code Here

Examples of com.badlogic.gdx.backends.lwjgl.LwjglApplication

  public void dispose () {
    atlas.dispose();
  }

  public static void main (String[] args) throws Exception {
    new LwjglApplication(new AnimationStateTest());
  }
View Full Code Here

Examples of com.badlogic.gdx.backends.lwjgl.LwjglApplication

    batch.getProjectionMatrix().setToOrtho2D(0, 0, width, height);
    debugRenderer.getShapeRenderer().setProjectionMatrix(batch.getProjectionMatrix());
  }

  public static void main (String[] args) throws Exception {
    new LwjglApplication(new SkeletonTest());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.