from erdslangetjie.level import LevelList
from erdslangetjie.player import ThePlayer, Nemesis
-TILE_SIZE = 40
+TILE_SIZE = 48
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),
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)