HaxeFlixel / flixel-addons

Additional classes for HaxeFlixel
170 stars 139 forks source link

Allow FlxBackdrop to work with different camera zooms #373

Closed Geokureli closed 1 year ago

Geokureli commented 2 years ago

Fix for https://github.com/HaxeFlixel/flixel/issues/2649 This is a complete rewrite of FlxBackdrop. where the old version would re-blit on property changes, this checks for changes on draw() calls and gets the camera size and zoom at that time (prior version would ignore camera). it also works with scale, angle, shaders and animation (animation doesn't work when blitting)

Tasks before merging

fix issues with blitting when repeatAxes is any value other than XY