diff --git a/core/src/com/me/pacman/PacDude.java b/core/src/com/me/pacman/PacDude.java index ec53482..eb02b42 100644 --- a/core/src/com/me/pacman/PacDude.java +++ b/core/src/com/me/pacman/PacDude.java @@ -17,7 +17,7 @@ public class PacDude extends Game { public static final String VERSION = "v0.0.1"; public static final int LEVEL_WIDTH = 224; - public static final int LEVEL_HEIGHT = 248; + public static final int LEVEL_HEIGHT = 288; public AssetManager assets; public SpriteBatch batch; diff --git a/core/src/com/me/pacman/state/MenuState.java b/core/src/com/me/pacman/state/MenuState.java index 6c0b949..46843e1 100644 --- a/core/src/com/me/pacman/state/MenuState.java +++ b/core/src/com/me/pacman/state/MenuState.java @@ -30,10 +30,10 @@ public class MenuState extends State { @Override public void render() { - level.render(game.batch, game.sr, 12, 12); + level.render(game.batch, game.sr, 12, 28); game.batch.begin(); - game.batch.draw(levelBackground, 0, 0); + game.batch.draw(levelBackground, 0, 16); game.batch.draw(logo, 0, 124, 224, 120); game.batch.end(); } diff --git a/desktop/src/com/me/pacman/desktop/DesktopLauncher.java b/desktop/src/com/me/pacman/desktop/DesktopLauncher.java index 6e8385c..acb5da2 100644 --- a/desktop/src/com/me/pacman/desktop/DesktopLauncher.java +++ b/desktop/src/com/me/pacman/desktop/DesktopLauncher.java @@ -8,9 +8,9 @@ public class DesktopLauncher { public static void main (String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.title = PacDude.TITLE + " - " + PacDude.VERSION; - config.width = (224 * 2); - config.height = (248 * 2); - config.resizable = false; + config.width = PacDude.LEVEL_WIDTH * 2; + config.height = PacDude.LEVEL_HEIGHT * 2; + config.resizable = true; new LwjglApplication(new PacDude(), config); } }