Training and Instructional Design
In our last installment, we ran into a problem trying to get collisions to work correctly with the obstacle. We want it to interact with the penguin, but not the game world. If we turn on physics, either the edgeLoop on the scene blocks the… Continue Reading “The SlippyFlippy Challenge: Working With Sprite Kit Collision Detection”
Build a Better Obstacle In the SlippyFlippy challenge we have a small obstacle. In Flappy Bird there are two obstacles which the bird has to pass between. Let’s change our current obstacle into a pass-through obstacle like Flappy Bird. Make a Random Obstacle… Continue Reading “The SlippyFlippy Challenge: Make a Better Obstacle in Sprite Kit”
In the last installment of this series I showed two kinds of animation: SKAction and using the update: method from frame animation. The third major type of animation is using the physics engine. A physics engine takes the mathematical laws of physics and adds… Continue Reading “The Slippy Flippy Dare: How to Use Basic Physics in Sprite Kit”