farzher Posted May 7, 2014 Share Posted May 7, 2014 Title sums it up. I tried messing with PIXI blend modes like this: this.blend = PIXI.blendModes.ADDthis.blendMode = PIXI.blendModes.ADD But they didn't seem to do anything, I think I'm doing it wrong, and I couldn't find any Phaser examples. How do I add a glow effect to Phaser Sprites or Graphics? Link to comment Share on other sites More sharing options...
stasuss Posted May 7, 2014 Share Posted May 7, 2014 Blend mode should be added onto the sprite. I just tested it and it worked with the following code:mySprite.blendMode = PIXI.blendModes.ADD; Mike and r00 2 Link to comment Share on other sites More sharing options...
farzher Posted May 12, 2014 Author Share Posted May 12, 2014 Ah, oops, I'm using Phaser.Graphic, not sprites. Looks like this isn't supported for all display objects, only Sprites Link to comment Share on other sites More sharing options...
stasuss Posted May 12, 2014 Share Posted May 12, 2014 But you can create sprite from the graphics. Link to comment Share on other sites More sharing options...
Recommended Posts