renamed title image file
Before Width: | Height: | Size: 7.7 KiB |
BIN
android/assets/1280x720/title.png
Executable file
After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 8.8 KiB |
BIN
android/assets/1280x800/title.png
Executable file
After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 8.2 KiB |
BIN
android/assets/1366x768/title.png
Executable file
After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 12 KiB |
BIN
android/assets/1920x1080/title.png
Executable file
After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 14 KiB |
BIN
android/assets/1920x1200/title.png
Executable file
After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 18 KiB |
BIN
android/assets/2560x1440/title.png
Executable file
After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 31 KiB |
BIN
android/assets/3840x2160/title.png
Executable file
After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 4.9 KiB |
BIN
android/assets/800x480/title.png
Executable file
After Width: | Height: | Size: 8.8 KiB |
@ -56,6 +56,7 @@ public class RhythmBullet extends Game {
|
||||
Gdx.app.setLogLevel(Application.LOG_DEBUG);
|
||||
prefs = Gdx.app.getPreferences("PolyJet_Preferences");
|
||||
|
||||
setScreen(new MainMenu(this));
|
||||
if (prefs.getBoolean("fullscreen", true)) {
|
||||
Gdx.graphics.setFullscreenMode(Gdx.graphics.getDisplayMode());
|
||||
} else {
|
||||
@ -66,7 +67,6 @@ public class RhythmBullet extends Game {
|
||||
+ Gdx.graphics.getWidth() + "x" + Gdx.graphics.getHeight() +"\n"
|
||||
+ "Pixel density (PPI): " + Gdx.graphics.getDensity());
|
||||
|
||||
setScreen(new MainMenu(this));
|
||||
|
||||
Resolution[] resolution = {
|
||||
new Resolution(800, 480, "800x480"),
|
||||
@ -117,7 +117,7 @@ public class RhythmBullet extends Game {
|
||||
assetManager.load("standard_thrust.p", ParticleEffect.class);
|
||||
assetManager.load("keyboard.atlas", TextureAtlas.class);
|
||||
assetManager.load("cybercircle3B.png", Texture.class);
|
||||
assetManager.load("PolyjetTitle.png", Texture.class);
|
||||
assetManager.load("title.png", Texture.class);
|
||||
assetManager.load("cybercircle1.png", Texture.class);
|
||||
assetManager.load("defaultCover.png", Texture.class);
|
||||
assetManager.load("teleport-cloak.p", ParticleEffect.class);
|
||||
|
@ -102,7 +102,7 @@ public class GameScreen extends ScreenAdapter {
|
||||
bgShader.setUniformf("time", music.getPlaybackMusic().getPosition());
|
||||
}
|
||||
}
|
||||
bgBatch.draw(background, 0f, 0f, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
|
||||
bgBatch.draw(background, 0f, 0f);
|
||||
bgBatch.end();
|
||||
|
||||
|
||||
|
@ -17,8 +17,8 @@ import zero1hd.rhythmbullet.RhythmBullet;
|
||||
import zero1hd.rhythmbullet.screens.PreGameScreen;
|
||||
|
||||
public class MainPage extends Page {
|
||||
private Image polyjetTitle;
|
||||
private Label polyJetVersion;
|
||||
private Image title;
|
||||
private Label versionLabel;
|
||||
private TextButton options;
|
||||
private Image cyberCircle;
|
||||
private Label begin;
|
||||
@ -27,13 +27,13 @@ public class MainPage extends Page {
|
||||
private WidgetGroup playButton;
|
||||
|
||||
public MainPage(final RhythmBullet core, final Vector3 targetPosition) {
|
||||
polyjetTitle = new Image(core.getAssetManager().get("PolyjetTitle.png", Texture.class));
|
||||
polyjetTitle.setPosition(15, getHeight() - polyjetTitle.getHeight()-15);
|
||||
addActor(polyjetTitle);
|
||||
polyJetVersion = new Label("Version: " + RhythmBullet.VERSION, core.getDefaultSkin(), "sub-font",
|
||||
title = new Image(core.getAssetManager().get("title.png", Texture.class));
|
||||
title.setPosition(15, getHeight() - title.getHeight()-15);
|
||||
addActor(title);
|
||||
versionLabel = new Label("Version: " + RhythmBullet.VERSION, core.getDefaultSkin(), "sub-font",
|
||||
core.getDefaultSkin().getColor("default"));
|
||||
polyJetVersion.setPosition(3, 3);
|
||||
addActor(polyJetVersion);
|
||||
versionLabel.setPosition(3, 3);
|
||||
addActor(versionLabel);
|
||||
|
||||
options = new TextButton(" Options ", core.getDefaultSkin(), "left");
|
||||
options.addListener(new ChangeListener() {
|
||||
@ -42,7 +42,7 @@ public class MainPage extends Page {
|
||||
targetPosition.x = 1.5f * getWidth();
|
||||
}
|
||||
});
|
||||
options.setPosition(-options.getWidth(), polyjetTitle.getY() - options.getHeight() - 30);
|
||||
options.setPosition(-options.getWidth(), title.getY() - options.getHeight() - 30);
|
||||
options.addAction(Actions.sequence(Actions.delay(0.25f), Actions.moveTo(0, options.getY(), 0.5f)));
|
||||
addActor(options);
|
||||
|
||||
|
@ -12,7 +12,7 @@ public class DesktopLauncher {
|
||||
config.width = 800;
|
||||
config.height = 480;
|
||||
config.resizable = false;
|
||||
// System.setProperty("org.lwjgl.opengl.Window.undecorated", "true");
|
||||
System.setProperty("org.lwjgl.opengl.Window.undecorated", "true");
|
||||
|
||||
|
||||
new LwjglApplication(new RhythmBullet(), config);
|
||||
|