Feb 20, 2014

Minnesota CocoaHeads Sprite Kit Review

Last Thursday I had the privilege to speak about Sprite Kit at the Minnesota CocoaHeads chapter. The turnout was great as iOS developers are excited about the potential of Sprite Kit.

Sprite Kit is a new 2D game engine API available in iOS 7. It combines a 2D sprite API over OPEN GL, as well as a 2D physics engine and API. Unlike most 3rd party game engines, it also integrates well with all of iOS’s other API’s, including UIKit and Storyboards.

To demonstrate building a simple game in Sprite Kit, I built a tutorial style demo. This demo is available on GitHub. The demo consists of 3 parts, each part building off of the one before. Demo 3 runs the final version of the “game”, which consists of trying to hit the Zombie with the Ball three times. Admittedly, it is not a very fun or challenging game 🙂 However, it should help you see the basics of moving sprites around the screen, interacting with them, and letting them interact with each other (collisions). The demos are designed to run on the iPad simulator in XCode.

Demo 1 demonstrates:

  • Creating a sprite from a texture atlas
  • Basic animations and sequences
  • Scene Transitions
  • Texture Atlases
  • Basic physics bodies properties

Demo 2 demonstrates:

  • Accepting user input
  • Controlling a physics body from user input
  • Interacting with labels
  • Collision and contact handling with bit masks

Demo 3 demonstrates:

  • Navigating with Storyboard integrating
  • Integrating with UIKit

About the Author

Object Partners profile.
Leave a Reply

Your email address will not be published.

Related Blog Posts
Natively Compiled Java on Google App Engine
Google App Engine is a platform-as-a-service product that is marketed as a way to get your applications into the cloud without necessarily knowing all of the infrastructure bits and pieces to do so. Google App […]
Building Better Data Visualization Experiences: Part 2 of 2
If you don't have a Ph.D. in data science, the raw data might be difficult to comprehend. This is where data visualization comes in.
Unleashing Feature Flags onto Kafka Consumers
Feature flags are a tool to strategically enable or disable functionality at runtime. They are often used to drive different user experiences but can also be useful in real-time data systems. In this post, we’ll […]
A security model for developers
Software security is more important than ever, but developing secure applications is more confusing than ever. TLS, mTLS, RBAC, SAML, OAUTH, OWASP, GDPR, SASL, RSA, JWT, cookie, attack vector, DDoS, firewall, VPN, security groups, exploit, […]