Hey,
I have an SKScene and a class that subclasses SKNode. The SKNode is added to the SKScene. I want to be able to transition the scene to a new scene from the SKNode. I don't need to preserve any data about the SKNode.
I would like to use something like this...
SKScene *shopScene = [[ShopScene alloc] initWithSize:self.size];
SKTransition *transition = [SKTransition fadeWithDuration:0];
[self.view presentScene:shopScene transition:transition];
But it only works when being called from the SKScene itself, not the SKNode. I get the error "Property 'size' not found on object of type 'overRoundLayer *'" The error is thown on self.size.
Thanks!