Jump to content

how to use pixi in phaser ?


Recommended Posts


i would use the blur effect from pixi in phaser


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 ?


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...

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.

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.


  • Recently Browsing   0 members

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