• Creating D-Pad Controls for an iOS Game in Swift & SpriteKit

    Learn how to control a character for your game with “D-Pad.” This tutorial will show you how to use Swift to create a simple but powerful control structure. Download Direction.swift What Is a D-Pad? A “D-Pad” is short for “directional pad,” one of the most common game controller input styles. Of course, modern mobile devices […]

    Read more »
  • Simple Mobile App Split Testing with Facebook Analytics

    Fancy A/B testing suites are great, but sometimes you need something dead-simple. Facebook analytics has all the power you need for basic split testing in your mobile app. In this article, I’ll show you how I set up 3-way split test on the difficulty of the mobile game ForeverMaze. Download the Source Code for Analytics.swift Facebook Analytics: […]

    Read more »
  • Swift Tutorial: Real-Time Data Synchronization with Firebase

    In this tutorial, I’ll introduce a data class that “magically” synchronizes in real-time via Firebase. You interface with it like any normal local object, but it actually is always in-sync with the server. We’ll learn about intermediate topics in Swift like KVO and Reflection. For example, if I add a new variable in my subclass, […]

    Read more »
  • A Game to Battle Depression With Friends

    Games are an untapped source for social good. There are some examples of “good games.” Duolingo teaches foreign languages. Neuroracer helps prevent cognitive decline. I’ve written about many other such examples around this blog. But I’m also a game designer by training, so it was inevitable that I’d try to create a socially-inspired game eventually. Inspiration […]

    Read more »

Back to Top