I have setup my SKScene
the following way during initiation:
-(id)initWithSize:(CGSize)size {
if (self = [super initWithSize:size]) {
self.backgroundColor = [SKColor clearColor];
}
return self;
}
But somehow, what I am given is the following, which is black, not clear at all:
What am I missing here? How can I make this scene clear? I have already made the view holding the scene clear yet this is still what I get.
Update: I have also tried setting myView.opaque = NO;
but this did not help at all.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…