Hacked together Cocos2D and Swift