Tag: Discovery

The Slippy Flippy Dare: Making a Basic Obstacle

To make a game fun there must be a challenge. One of those challenges is some obstacle in your path or headed towards you.  In both Flappy Bird and SlippyFlippyPenguin that  obstacle is a large rectangle with a gap in it. Your job is…

from Apple to Raspberry Pi: Making Classes in Python

Objective-C and Python are similar when it comes to defining new classes, but be careful with their differences. In Objective-C we would define a class with two files: a header and an implementation file. In the header we would declare properties like this And…

The Slippy Flippy Dare: How to Use Basic Physics 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…

Bass ackwards with Objective C.

It drives me nuts, thinking backwards. in Java or C++ or C, functions and methods are simple. They’re close to what I did in Pascal a quarter century ago: and then the call would be No biggie. If sampleMethod was in a an object…