/Starling-FFParticleSystem

Improved particle system for the Starling framework

Primary LanguageActionScript

Starling-FFParticleSystem

Improved particle system for the Starling framework

Short overview and live demo: http://www.flintfabrik.de/blog/improved-particle-system-for-starling

Getting started: Starling wiki page

Overview

This is particle system is based on and compatible to the original but provides some additional features and various performance improvements. Thanks a lot to Colin Northway (Incredipede) sponsoring this extension created for his upcoming game.

Important: I did anything to make the code as fast as possible but to get the best performance I strongly recommend using the ASC 2.0 compiler and setting it up for [inline] functions.

####New Features:

  • particle pool
  • batching (less draw calls)
  • multi buffering (avoid stalling)
  • animated particles
  • random start frames
  • filter support
  • optional custom sorting, code and variables
  • calculating bounds (optional)
  • spawnTime, fadeIn/fadeOut
  • emit angle alligned particle rotation
  • various performance improvements

Additional information about the new features and the live demo (~ 5 MB) can be found on my page.