What it is:
StarlingPunk is a framework built on top the Starling library designed to add structure and organization to your 2D games. It’s perfect for rapidly prototyping ideas and promotes code reuse between projects.
As you may have been able to tell from the name, StarlingPunk is heavily inspired by the popular FlashPunk framework, although its not a direct port.
- Easily encapsulate code into worlds and entities
- Manages collections of entities based on assigned types
- Fast and easy collision detection system
- All the power of starling’s performance, sprite sheets, particles, mobile development
Why build this on top of Starling:
- Best of both worlds allowing us to mix and match regular Starling code with FlashPunk like organization.
- Fast Stage3D hardware accelerated graphics
- Provides a familiar structure for Actionscript developers
- Harness the power of the display-list; worlds and entities extend the Starling Sprite class meaning display objects can be nested within them
- Pre-existing Starling code can easily be incorporated into the framework
- Starling already does a ton of things right, sprite-sheet animation, events, dynamic resolutions
- Tons of tools and extensions will already work, like sprite-manager and particles
Grab the framework on github now!
Check out the example Project:
Click the image to play the example game, the example was ported from this flixel tutorial
Planned future releases:
- Integration with the box2D physics library
- Helper class for the Ogmo level editor
- Helper functions for sound effects
- Component based behavior system sorta like Unity3D