Match the original Pacman dimensions
Move the field up to match original Pacman position.
This commit is contained in:
@ -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;
|
||||
|
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user