num_tiles_x = int(math.ceil(Globals.resolution.x / float(self.tile_size.x)))