num_tiles_y = int(math.ceil(Globals.resolution.y / float(self.tile_size.y)))