Jump to content

Filters not working any more (?) outdated (?)


Sam
 Share

Recommended Posts

Hey,

maybe I haven't catched the news but: are filters outdated in phaser 2.2?

the examples do not seem to work and when I call:
 

game.add.filter('lightBeam');

I only get:

undefined is not a function

The filter was loaded before via 

game.load.script

Regards

Link to comment
Share on other sites

Still can not get any filter to work with a blank project.

seems like this is no longer working?

game.add.filter

init game (WEBGL) etc.

- just loading the filter script 

- creating the : game.add.filter("filtername");

- updatefunc for filter

I'm only getting the error: undefined is not a function - as result of game.add.filter.
:/

anybody knows what I'm doing wrong?

regards

Link to comment
Share on other sites

so it turns out that it isn't working at all also with a new blank project. with an old phaser version (1.2) there is no problem with using filters.
phaser 2.2 just returns:

undefined is not a function

if you want to use filters by.
 

game.filter.add("filter name");

can anybody reproduce the error?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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