Itís been a month in development but itís finally here Ė Version 1.7 of the Flixel Power Tools has now gone from dev to master Ė and I urge you all to give it a play! I have also re-organised my site so that the tools and all sub-classes are now easily accessible from the right-hand side bar. More info, more screen shots, less scrolling
V1.7 includes a brand new Demo Suite system (donít forget to try the Credits button ). Itís now easier and quicker to get to the examples, which is just as well as weíve over 60 of them in this release. Donít forget to download the whole package from github, as it includes a Getting Started manual PDF, the full source code to all of the demos, all of the graphical and audio assets (warning: copyright, donít use commercially!), as well as the tools themselves.
As well as a suite overhaul there are some great new classes, and updates to nearly everything. FlxHealthBar is gone, replaced with the much more versatile FlxBar. This new bar can be used for anything, from progress meters to sprite health. It can fill in one of 8 different directions, can be hooked to a parent sprite or not, and be hooked to any value of that sprite Ė in short it doesnít have to be just a health bar any longer.
The biggest new addition is FlxWeapon. A comprehensive weapon manager for games. Handles creation, pooling and re-use of bullets and a heck of a lot more. Angled bullets, sounds, callbacks, fire at the mouse, fire from the mouse, fire from a parent sprite, fire from a fixed position, bullet speeds, firing rates. Phew! Combined with FlxControl this is a powerful combo.
FlxVelocity has been updated with lots of new functions: moveTowardsPoint, distanceToPoint, angleBetweenPoint, velocityFromAngle, accelerateTowardsObject, accelerateTowardsMouse and accelerateTowardsPoint! And FlxControl now supports rotation, thrusting and reversing.
So you can now make an asteroids style ship movement in a couple lines of code. Of course I couldnít resist adding some new Special FX including Blur and Center Slide. Enjoy!