Category: Games
-
The Slippy Flippy Challenge: Make Marquee Style Scrolling Backgrounds
To give a sense of motion in a game one can use parallax backgrounds. Such backgrounds are in constant motion, but at a different rate than the foreground motion. In Slippy Flippy, we use ice floating by on the water for such an effect. While this seems rather complicated, it is not as difficult as…
-
The Slippy Flippy Challenge: Make Active Boundaries in Sprite Kit.
In Flappy Bird, hitting the top or bottom boundaries ends the game. They also convey a sense of motion. The boundaries make for a better playing experience. Last time, we set up collision detection, but we need boundaries that are sprites. Sprite node boundaries would be able to tell us what we hit, and run…
-
Living Without Storyboards: Make a Clock with Sprite Kit
Sprite Kit — it’s not just for games anymore. Sprite Kit is of course meant to write games, a full 2-d game engine waiting for use inside Xcode and iOS7. While simulating buttons writing SlippyFlippyPenguin, I began to realize there’s a lot more here that could be applied to a general UI. I’ve often tried…
-
The SlippyFlippy Challenge: Working With Sprite Kit Collision Detection
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 obstacle from entering the scene by , or causes very jittery…
-
The SlippyFlippy Challenge: Make a Better Obstacle in Sprite Kit
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 Our current obstacle is a bit boring. It always shows up…