robojiannis

Members
  • Content Count

    3
  • Joined

  • Last visited

About robojiannis

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. robojiannis

    implementing pixi-v4 filters in phaser 2

    that's exactly where I'm stuck. The shader should actually do a zoom blur like here: http://pixijs.io/pixi-filters/tools/demo/ (enable the last filter). Instead it does something, but not what we want
  2. robojiannis

    implementing pixi-v4 filters in phaser 2

    I actually made some progress. The filter is now running without throwing any errors, but nothing is visible below (although things are there; i tested by applying the filter to one sprite only instead of the game.world) Here's the filter: https://gist.github.com/robojiannis/bd31ab833aec776791f9bcae62e123b8 and i call it like that: f = new Phaser.Filter.ZoomBlur(game); f.strength = 0.1; f.innerRadius = 80; f.radius = 1; f.center = [500,300]; game.world.filterArea = new Phaser.Rectangle(); game.world.filters = [f]; any clues?
  3. Hi, I'm trying to implement the pixi-v4 filters in phaser 2 (CE Version). I'm especially interested in this one: https://github.com/pixijs/pixi-filters/tree/master/filters/zoom-blur I've noticed this example (http://phaser.io/examples/v2/filters/pixi-filter) in phaser 2 is outdated/not working (link to pixi filter is wrong). Even when i fix the link (e.g. https://github.com/photonstorm/phaser/blob/v2.6.2/filters/pixi/RGBSplitFilter.js) the filter gives an error because pixi is not included. So I'm wondering what is the right method to do it. I guess the main questions here are: is pixi-v4 filters compatible with phaser-v2 method of importing of pixi filters? if yes, where are the new filters (interested in the zoom-blur one: https://github.com/pixijs/pixi-filters/tree/master/filters/zoom-blur)? if not, any pointers how to port them? Thanks!