Open Source Library Bringing A Number Of ActionScript Inspired Helper Classes To SpriteKit

I’ve mentioned a number of resources for working with Sprite Kit most recently a step by step tutorial on creating a Space Invaders style game with physics and particles.

Here’s an open source library from Craig Grummitt called ActionSwift3 inspired by the ActionScript 3 SDK adding many classes simplifying development with SpriteKit.

As the readme states:

Swift is awesome – but do you ever reminisce about the old days of ActionScript 3.0? The old days of DisplayObjects, Sprites, MovieClips, EventDispatchers – oh and who can forget gotoAndPlay? Well, now you can enjoy iOS native development using the power of Swift syntax but with the AS3 SDK! Whaa? How is this possible? Is this heresy?

This code example from the readme shows how one would use the included MovieClip class:

let walkingTextures = ["walking1","walking2","walking3"]
let movieClip = MovieClip(textureNames: walkingTextures)
movieClip.x = 0
movieClip.y = Stage.size.height – movieClip.height
stage.addChild(movieClip)

You can find ActionSwift3 on Github here.

A nice library for working with SpriteKit especially for those already familiar with ActionScript.

Original article: Open Source Library Bringing A Number Of ActionScript Inspired Helper Classes To SpriteKit

©2015 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *