Implemented moving Character
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.darkrp2d.desktop;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.Files;
|
||||
import com.badlogic.gdx.Preferences;
|
||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
|
||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
|
||||
@@ -17,8 +18,12 @@ public class DesktopLauncher {
|
||||
//Default conf
|
||||
config.title = "DarkRP2D";
|
||||
config.useGL30 = false;
|
||||
config.width = 800;
|
||||
config.height = 600;
|
||||
config.width = 960;
|
||||
config.height = 540;
|
||||
config.addIcon("logo.png", Files.FileType.Internal);
|
||||
config.vSyncEnabled = false; // Setting to false disables vertical sync
|
||||
config.foregroundFPS = 144; // Setting to 0 disables foreground fps throttling
|
||||
config.backgroundFPS = 0; // Setting to 0 disables background fps throttling
|
||||
|
||||
loadUserPrefs(new LwjglApplication(new DarkRP2D(), config));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user