-
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…
-
Make a Clock in Sprite Kit: Adding Animation to the Clock
In our first installment, we added a label and set up a clock. We could easily do that with a story board and a wired up label. The point of series this is to have a lot of cool animation running in Sprite Kit for a non game UI. We will begin to add animation…
-
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…
-
From Apple to Raspberry Pi: Making Round Rectangle Buttons — The Movie
When I posted yesterday about GIMP and making Buttons for Python projects on the Raspberry Pi, I had thought someone would have a tutorial for the classic pre-iOS7 rounded rectangle button. I didn’t find any. Here is a video I put together of making those buttons in GIMP on the Raspberry Pi. At the end…
-
Living Without Storyboards or Interface Builder: Grids and a Grid Class
Using Grids As Steve Jobs liked to say… “Oh, and one more thing more thing.” In my last post Living without Storyboards or Interface Builder, I mentioned scribbling on a piece of paper. I do that often, but it is helpful to go one step further: use a preset grid. The web building world, at…