switched to lwjgl3, began changing way screen resize system works, minor bug fix with options screen

This commit is contained in:
2017-08-18 02:14:30 -05:00
parent 688c1acf96
commit 1af07188e6
17 changed files with 152 additions and 129 deletions

View File

@@ -1,23 +1,17 @@
package zero1hd.rhythmbullet.desktop;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
import zero1hd.rhythmbullet.RhythmBullet;
public class DesktopLauncher {
public static void main (String[] arg) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
config.title = "Rhythm Bullet";
config.width = 800;
config.height = 480;
Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
config.setTitle("Rhythm Bullet");
config.setResizable(false);
config.setWindowSizeLimits(800, 480, 3840, 2160);
config.resizable = false;
config.useHDPI = true;
// System.setProperty("org.lwjgl.opengl.Window.undecorated", "true");
new LwjglApplication(new RhythmBullet(), config);
new Lwjgl3Application(new RhythmBullet(), config);
}
}