Adrian Cooney

2pods

SKImport

SKImport is a library, when coupled along with it's editor allows for building and importing of complex SKPhysicsBodies. SKImport enables you to import an exported JSON file containing body information and generates a SKPhysicsBody for use alongside your sprites.

It's as simple as this:

SKSpriteNode *complexSprite = [SKSpriteNode spriteNodeWithImageNamed:@"complex-sprite"] NSString *bodyPath = [[NSBundle mainBundle] pathForResource: @"comple-body" ofType: @"json"]; complexSprite.physicsBody = [SKPhysicsBody bodyWithFile:bodyPath];

License: MIT

  • Objective C

SKMech

SpriteKit tools.

License: MIT

  • Objective C