Sign in to follow this  
Sam

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

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

Share this post


Link to post
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

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.