Jump to content

How to add filters in later version?


Elgan
 Share

Recommended Posts

looking at this; It does not work.

 

 

http://examples.phaser.io/_site/view_full.html?d=filters&f=gray.js&t=gray

 

 

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

 Share

  • Recently Browsing   0 members

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