我正在快速使用 spritekit(ios8,xcode 6)。当我使用物理体构造函数self.physicsBody = SKPhysicsBody(texture: myTexture, size: myTexture.size())
时,它每次都失败,并出现以下错误:
<Error>: CGBitmapContextCreate: unsupported parameter combination:
8 integer bits/component; 32 bits/pixel;
3-component color space;
kCGImageAlphaPremultipliedLast; 127 bytes/row.
但是,当我切换回像 'SKPhysicsBody(rectangleOfSize: ...)' 这样的物理体构造函数时,它工作得很好......但是,我想使用基于纹理的物理体。为什么会发生此错误,我该如何解决?