Star Effects Pack

This is a great animation class that I am planning on using in some of my games in the upcoming year. There are 5 different star images, and you can customize the color, number and the speed of the stars. Great to use when your wizard zaps the orc!

Here is a code usage sample below:

var starBurst = new StarBurst({
            scene: this,
            x: 200,
            y: 350,
            f: 2,
            duration: 1000,
  • Scene-the current scene
  • x and y-location
  • f-star frame, to change the design
  • duration-speed for the tween. Longer is slower
  • tint-color of the stars