Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments