Jump to content

how to use pixi in phaser ?


espace
 Share

Recommended Posts

hi,

i would use the blur effect from pixi in phaser

http://pixijs.github.io/examples/index.html?s=filters&f=blur-filter.js&title=Blur

how do you integrate this with phaser. When i specify pixi.js and phaser.js same on index.html i have multiple errors.

on the phaser's documentation i see a lot of reference of pixi...could you tell me how it works with phaser ? a sample example ?

Thanks

Link to comment
Share on other sites

A (very) custom version of Pixi is built into Phaser. You don't need, and shouldn't, try to include it as well (or it will generate all kinds of errors)

The blur filter is available here: http://phaser.io/examples/v2/filters/blur (and lots of others), but you can use any Pixi filter in Phaser. Here is an example showing how: http://phaser.io/examples/v2/filters/pixi-filter

Link to comment
Share on other sites

  • 8 months later...
 Share

  • Recently Browsing   0 members

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