So I have this scenario:
I want the outside tile to rotate around the center tile clockwise or counter-clockwise. So what I mean by clockwise is this:
I've tried for a solid hour and can't for the life of me figure it out.
There are four types of tiles. The all belong to a family. I tried with families and with individual tiles which gave me different but wrong results.
My basic method was to identify each tile by where it was with respect to a cursor (e.g. cursor.x, cursor.y+64). Based on where the tile was I would say it's private boolean variable is true. So for the example and going with counter-clockwise I would say GoingLeft is true. Then I would have another statement that said if GoingLeft is true move left 64 pixels and set GoingLeft to false. Not sure why that's not working.
Help would be great, thanks!