OpherV Posted May 10, 2014 Share Posted May 10, 2014 I was examining Blizzard's Hearthstone UI and I really like their use of glow\particle effects. Especially around buttons.How would you go about implementing such an effect in Phaser? Also how would you go about doing this sort of effect (the glowing lanes): Link to comment Share on other sites More sharing options...
stasuss Posted May 10, 2014 Share Posted May 10, 2014 It seems to me that these are prerendered animations. Link to comment Share on other sites More sharing options...
OpherV Posted May 10, 2014 Author Share Posted May 10, 2014 I'm really not sure about it, they seem Somewhat random and sway with the mouse interaction and object motion Link to comment Share on other sites More sharing options...
stasuss Posted May 10, 2014 Share Posted May 10, 2014 Nevertheless I would rather use ready animations, because program animation is very heavy on mobile. Not sure if it is possible to make blur with PIXI, but you can use predefined blured image and blend it using ADD. So it will glow.Phaser has build-in particle engine. So you can create swarming particles.As for the last - if making it programmatically, I would make glowing background (blur+add) and simulate particle flow, like fluid. I think it can not be done using the engine. Link to comment Share on other sites More sharing options...
OpherV Posted May 10, 2014 Author Share Posted May 10, 2014 Interesting ideas! I'll give that a shot Link to comment Share on other sites More sharing options...
CtlAltDel Posted May 11, 2014 Share Posted May 11, 2014 I suggest looking at filters using shaders, those should be able to do that. Link to comment Share on other sites More sharing options...
stasuss Posted May 11, 2014 Share Posted May 11, 2014 but they work only with WebGL Link to comment Share on other sites More sharing options...
CtlAltDel Posted May 11, 2014 Share Posted May 11, 2014 it's the future Link to comment Share on other sites More sharing options...
OpherV Posted May 11, 2014 Author Share Posted May 11, 2014 @CtrlAltDel any specific shader in mind? Link to comment Share on other sites More sharing options...
CtlAltDel Posted May 11, 2014 Share Posted May 11, 2014 Simple glow effect that should show you the basics from the excellent gamemechanicexplorer:http://gamemechanicexplorer.com/#lightning-3 Link to comment Share on other sites More sharing options...
Recommended Posts