In SpriteKit on iOS, scaling a textured sprite produces an incorrect frame?
问题 I'm learning SpriteKit game development for the fun of it & I've run across a seemingly simple problem that has me stumped. Basically, after I scale a textured SKSpriteNode, the frame is NOT what I expect. I have figured out a few hacks to force it to what I want, but I'm trying to understand what is going on. Any ideas appreciated! Here's my code WITHOUT SCALING: func addSpaceship() { let spaceship = SKSpriteNode.init(imageNamed: "rocketship.png") spaceship.name = "spaceship" // spaceship