Updated GameName, added icon and removed useless logs
This commit is contained in:
parent
9d6acce419
commit
e9270efbc6
BIN
core/assets/sprites/Icon_128.png
Normal file
BIN
core/assets/sprites/Icon_128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
core/assets/sprites/icon_16.png
Normal file
BIN
core/assets/sprites/icon_16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 652 B |
BIN
core/assets/sprites/icon_32.png
Normal file
BIN
core/assets/sprites/icon_32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 725 B |
@ -83,10 +83,8 @@ public class BerserkerAI implements AIListener {
|
||||
c0.inputs.put(Direction.LEFT, true);
|
||||
}
|
||||
if (p0.getPosition().y < p1.getPosition().y) {
|
||||
Log.info("asd");
|
||||
c0.inputs.put(Direction.UP, true);
|
||||
} else if (p0.getPosition().y > p1.getPosition().y) {
|
||||
Log.info("asd");
|
||||
c0.inputs.put(Direction.DOWN, true);
|
||||
}
|
||||
}
|
||||
|
@ -66,10 +66,8 @@ public class RelentlessAI implements AIListener {
|
||||
c0.inputs.put(Direction.LEFT, true);
|
||||
}
|
||||
if (p0.getPosition().y < p1.getPosition().y) {
|
||||
Log.info("asd");
|
||||
c0.inputs.put(Direction.UP, true);
|
||||
} else if (p0.getPosition().y > p1.getPosition().y) {
|
||||
Log.info("asd");
|
||||
c0.inputs.put(Direction.DOWN, true);
|
||||
}
|
||||
}
|
||||
|
@ -22,8 +22,6 @@ public class Global {
|
||||
public static final String STATICPLAYER = "STATICPLAYER";
|
||||
public static final String PLAYERIMG = "PLAYERIMG";
|
||||
|
||||
public static final String GAME_NAME = "Gladiator Brawl";
|
||||
|
||||
public static final float SPRITE_SCALE = 1 / 16f;
|
||||
|
||||
public static final int FLAG_ALIVE = 1;
|
||||
|
@ -19,8 +19,7 @@ package com.saltosion.gladiator.util;
|
||||
|
||||
public class Name {
|
||||
|
||||
public static final String GAME_NAME = "Gladiator Brawl";
|
||||
public static final String DEBUG = "DEBUG";
|
||||
public static final String GAME_NAME = "Simply Gladiators";
|
||||
|
||||
public static final String SPLASH_SALTOSION = "SPLASH_SALTOSION";
|
||||
public static final String SPLASH_LIBGDX = "SPLASH_LIBGDX";
|
||||
@ -52,6 +51,7 @@ public class Name {
|
||||
public static final String SWING_UP = "SWING_UP";
|
||||
public static final String SWING_DOWN = "SWING_DOWN";
|
||||
public static final String SKIP_INTRO = "SKIP_INTRO";
|
||||
public static final String DEBUG = "DEBUG";
|
||||
|
||||
public static final String MUSIC_THEME = "MUSIC_THEME";
|
||||
public static final String MUSIC_BATTLE = "MUSIC_BATTLE";
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.saltosion.gladiator.desktop;
|
||||
|
||||
import com.badlogic.gdx.Files;
|
||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
|
||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
|
||||
import com.saltosion.gladiator.GladiatorBrawler;
|
||||
@ -14,6 +15,9 @@ public class DesktopLauncher {
|
||||
config.height = 720;
|
||||
config.vSyncEnabled = true; // Change this to false for performance testing
|
||||
config.foregroundFPS = 0;
|
||||
config.addIcon("sprites/icon_16.png", Files.FileType.Internal);
|
||||
config.addIcon("sprites/icon_32.png", Files.FileType.Internal);
|
||||
config.addIcon("sprites/icon_128.png", Files.FileType.Internal);
|
||||
LwjglApplication app = new LwjglApplication(new GladiatorBrawler(), config);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user