Fragile Maze Level Help

Ok @Deadpool198 I will try that now.

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.

Oh thank you @Deadpool198. Now where was I … oh yes I was going to ask whether this bit would add 16 to the hero’s pos in all directions:

distanceBetweenRooms = 16
startRoom = {"x": 18, "y": 19}
moveVec = Vector(16, 0)
destination = Vector.add(hero.pos, moveVec)
visited = []
while True:
    if hero.isPathClear(hero.pos.x, destination.pos.y + 16):
        hero.moveXY(destination.pos.x, destination.pos.y)
        visited.append(hero.pos)

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.