Now we will be adding some real simulation in the game. We will add more physics bodies and make them interact with each other. This will help us to understand the physics interaction between various physics objects.
Now we have the infinite bouncing ball in place. To add more fun to the game, let us add some more elements to the it.
SKSpriteNode* block = [[SKSpriteNode alloc] initWithImageNamed: @"block.png"]; block.name = paddleCategoryName; block.position = CGPointMake(CGRectGetMidX(self.frame), block.frame.size.height * 0.6f); [self addChild:block]; block.physicsBody ...