I am trying to implement functionality that would have a sprite travel along walls around the outside of the play area. As new walls are added to the play area, the sprite would react to these and move around them as they intersect the original walls.
Example 1, the sprite moves around the wall and when the additional wall area on the right is encountered, it moves around that as well.
Example 2, when another area of wall is added (this time on the left hand side) the spite reacts to that as well and moves around it.