From 723e1584330175d8156805bff09c334bb31a2c57 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 3 Mar 2016 10:48:24 +0200 Subject: [PATCH] Make screen size a tile shorter --- koperkapel/constants.py | 2 +- koperkapel/scenes/menu.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koperkapel/constants.py b/koperkapel/constants.py index 4d2dd09..15d5ebf 100644 --- a/koperkapel/constants.py +++ b/koperkapel/constants.py @@ -4,4 +4,4 @@ TITLE = "Portentosa" TILE_SIZE = 64 -WIDTH, HEIGHT = 1024, 768 +WIDTH, HEIGHT = 1024, 704 diff --git a/koperkapel/scenes/menu.py b/koperkapel/scenes/menu.py index c4707c9..eefd551 100644 --- a/koperkapel/scenes/menu.py +++ b/koperkapel/scenes/menu.py @@ -12,7 +12,7 @@ class MenuScene(Scene): def __init__(self): super().__init__() self._title = self.actors.add(TextButton("Main Menu")) - self._title.pos = (300, 200) + self._title.pos = (300, 100) self._nav = ActorNavigator() self._menu = [ TextButton("Play", action=self.change_to_level), @@ -23,7 +23,7 @@ class MenuScene(Scene): TextButton("Quit", action=self.quit), ] for i, item in enumerate(self._menu): - item.pos = (300, 300 + (i * 100)) + item.pos = (300, 200 + (i * 100)) self.actors.add(item) self._nav.connect( self._menu, [keys.DOWN, keys.RIGHT], [keys.UP, keys.LEFT], -- 2.34.1