From ca4652137b5f185a079f73e818ee371cab698715 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 16 Apr 2013 17:06:08 +0200 Subject: [PATCH] Fix ordering bug --- erdslangetjie/__main__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erdslangetjie/__main__.py b/erdslangetjie/__main__.py index 3234d1b..6ab5b18 100644 --- a/erdslangetjie/__main__.py +++ b/erdslangetjie/__main__.py @@ -15,7 +15,7 @@ from kivy.utils import platform from erdslangetjie.level import LevelList from erdslangetjie.player import ThePlayer, Nemesis -TILE_SIZE = 40 +TILE_SIZE = 48 class GameWindow(RelativeLayout): @@ -27,7 +27,7 @@ class GameWindow(RelativeLayout): self.tiles = {} self.view = view - rows, cols = self.level_obj.get_size() + cols, rows = self.level_obj.get_size() super(GameWindow, self).__init__( size=(cols*TILE_SIZE, rows*TILE_SIZE), @@ -200,7 +200,7 @@ class GameApp(App): super(GameApp, self).__init__() def build(self): - root = ScrollView(size=(640, 480), size_hint=(None, None)) + root = ScrollView(size=(960, 640), size_hint=(None, None)) game = GameWindow(self.levels, root) game.build() root.add_widget(game) -- 2.34.1