Updated Libgdx to a newer version to add gui to the game. This sadly broke the player sprite :/
This commit is contained in:
24
lwjgl3/src/main/java/Collector/lwjgl3/Lwjgl3Launcher.java
Normal file
24
lwjgl3/src/main/java/Collector/lwjgl3/Lwjgl3Launcher.java
Normal file
@@ -0,0 +1,24 @@
|
||||
package Collector.lwjgl3;
|
||||
|
||||
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
|
||||
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
|
||||
import Collector.Main;
|
||||
|
||||
/** Launches the desktop (LWJGL3) application. */
|
||||
public class Lwjgl3Launcher {
|
||||
public static void main(String[] args) {
|
||||
createApplication();
|
||||
}
|
||||
|
||||
private static Lwjgl3Application createApplication() {
|
||||
return new Lwjgl3Application(new Main(), getDefaultConfiguration());
|
||||
}
|
||||
|
||||
private static Lwjgl3ApplicationConfiguration getDefaultConfiguration() {
|
||||
Lwjgl3ApplicationConfiguration configuration = new Lwjgl3ApplicationConfiguration();
|
||||
configuration.setTitle("Collevtor");
|
||||
configuration.setWindowedMode(640, 480);
|
||||
configuration.setWindowIcon("libgdx128.png", "libgdx64.png", "libgdx32.png", "libgdx16.png");
|
||||
return configuration;
|
||||
}
|
||||
}
|
||||
BIN
lwjgl3/src/main/resources/libgdx128.png
Normal file
BIN
lwjgl3/src/main/resources/libgdx128.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
BIN
lwjgl3/src/main/resources/libgdx16.png
Normal file
BIN
lwjgl3/src/main/resources/libgdx16.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 879 B |
BIN
lwjgl3/src/main/resources/libgdx32.png
Normal file
BIN
lwjgl3/src/main/resources/libgdx32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
BIN
lwjgl3/src/main/resources/libgdx64.png
Normal file
BIN
lwjgl3/src/main/resources/libgdx64.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
Reference in New Issue
Block a user