Implemented moving Character

This commit is contained in:
Gulum
2017-10-18 01:38:21 +02:00
parent ffb5a784d6
commit 722f594633
26 changed files with 569 additions and 36 deletions

View File

@@ -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));
}