phaser-ce
phaser-ce copied to clipboard
Camera.shake() doesn't move sprites when a filter is applied
This issue was originally posted here: https://github.com/photonstorm/phaser/issues/2889
After applying a filter via sprite.filters = [filter], the filtered sprite no longer shakes when Camera.shake is called.
Here is a demonstration of the problem, comment out line 37 and you'll see the shaking work: https://jsfiddle.net/a4ujcsaz/