Jump to content

How to add filters in later version?


Recommended Posts

looking at this; It does not work.






this.game.add.filter now has 2 params; so i try;


 var gray = this.game.add.filter('Grey', null);


this.filters = [gray ];


filters, will not accept gray...im not sure how to apply it?


game.Add returns Phaser.Filter


.filters. is an array of <PIXI.AbstractFilter>

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...