Hi, I am trying to apply bloom effect on an entity using the punk.fx library. I do the following:
-
I import FXImage and BloomFX into the entity I want to bloom.
-
I set the FXImage as the graphic in the entity
_sprite = FXImage.createCircle(20, 0xFF00FF);
graphic = _sprite;
-
I create the effect var bloomFX:BloomFX = new BloomFX(); inside the entity.
-
I apply the effect to the image. _sprite.effects.add(bloomFX); inside the entity in the added method.
Unfortunately, nothing happens. I do not get any errors. I would really appreciate any help. Thanks.
I would also appreciate any tips on nice special effects in FP.