- Effects - Added
.fadeIn()and.fadeOut()- you can now make your effects look slightly nicer! - Effects - Added support for cone and line templates with
.reachTowards()and.rotateTowards()- it now reaches towards the end point of the template - Effects - Added
.name()to effects - this will cause the effect's position to be stored and can then be used with.atLocation(),.reachTowards(), and.rotateTowards()to refer to previous effects' locations- Example: naming an impact effect with
.name("hit_location")and making it miss with.missed(), and then have a subsequent effect use.rotateTowards("hit_location")to rotate towards the previous effect's calculated location
- Example: naming an impact effect with
- Effects - Fixed
.scale()bug that caused it to not properly set the scale and then cause an error upon calling.play() - Effects - Removed
.moves()for future implementation - Sequencer - Tweaked
.async()and.waitUntilFinished()handling- They now act the same on effect and sounds that only play once, but if it
.repeats(),.async()causes the effect or sound to wait between each repetition,.waitUntilFinished()causes the sequencer to wait until the effect or sound has finished executing all of its repetitions, which may or may not wait for each effect or sound to play with.async()
- They now act the same on effect and sounds that only play once, but if it
- Sequencer - Calling
.play()now returns the sequence - Sequencer - Removed
FXMasterdependency and implemented a custom canvas layer and effects class