3132333435363738
/**Init game with splashs*/ Cactus2DApplication game = new Cactus2DApplication(); game.loadLevel(new SplashLevel()); /**Create window of the game*/ new LwjglApplication(game, "Terremoto", width, height, false); }
75767778798081
m_particleActors = new HashMap<>(); m_deletedParticleActors = new ArrayList<>(); //Start the visualisation m_gameGDX = new GameGDX(config.fullscreen); m_application = new LwjglApplication(m_gameGDX, config); }
6465666768697071727374
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();
891011121314
public static void main(String[] args) { LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration(); cfg.title = "Outrun"; cfg.width = 853; cfg.height = 480; new LwjglApplication(new DeathRaceGame(), cfg); }
37383940414243
public static void main(String[] args){ LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.width = 640; config.height = 480; new LwjglApplication(new MainClass(), config); }
17181920212223
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); }
14151617181920
cfg.title = "TimedStrategy"; cfg.useGL20 = true; cfg.width = 1024; cfg.height = 768; cfg.resizable = false; new LwjglApplication(new Main(), cfg); }
108109110111112113114
public void dispose () { atlas.dispose(); } public static void main (String[] args) throws Exception { new LwjglApplication(new AnimationStateTest()); }
130131132133134135136
batch.getProjectionMatrix().setToOrtho2D(0, 0, width, height); debugRenderer.getShapeRenderer().setProjectionMatrix(batch.getProjectionMatrix()); } public static void main (String[] args) throws Exception { new LwjglApplication(new SkeletonTest()); }
126127128129130131132
batch.getProjectionMatrix().setToOrtho2D(0, 0, width, height); debugRenderer.getShapeRenderer().setProjectionMatrix(batch.getProjectionMatrix()); } public static void main (String[] args) throws Exception { new LwjglApplication(new MixTest()); }