I have created a SKShapeNode and added it to an SKScene in the following way:
SKShapeNode *newShape = [[SKShapeNode alloc]init];
[newShape setPath:CGPathCreateWithRoundedRect(CGRectMake(0, 0, 120, 120), 8, 8, nil)];
newShape.strokeColor = newShape.fillColor = [UIColor colorWithRed:66.0f/255.0f
green:74.0f/255.0f
blue:84.0f/255.0f
alpha:1];
newShape.position = CGPointMake(20, 10);
[self addChild:newShape];
As both the width and the height of the CGRectMake are the same I would expect to see a square but the SKShapeNode appears to be distorted and it looks about twice as high as it is wide. I'm viewing the scene in portrait mode on my simulator and am wondering if the SKScene is messing or changing the aspect ratio of the shape to account for that. I'm very confused why it's not appearing as a square?