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. 2
0
 public static void main(String[] arg) {
   width = 1;
   height = 1;
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.fullscreen = false;
   config.vSyncEnabled = true;
   config.width = width;
   config.height = height;
   config.foregroundFPS = 60;
   config.allowSoftwareMode = true;
   config.samples = 2;
   new LwjglApplication(new LovePirates(), config);
   // config.fullscreen = true;
 }