It seems to me that a framework that aims for simplicity would have that method so, and not to remove every node from the physics accounting like I'm doing now:
[self enumerateChildNodesWithName:@"live" usingBlock:^(SKNode *node, BOOL *stop){
[node removeFromParent];
}];
I'm sorry if this is a noob question, I've just started working with SpriteKit. Thanks!
It has "that method". If you look in the SKPhysicsWorld reference you'll find the speed property. Speed = 0 means paused.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With