Gibson001 Posted January 27, 2015 Share Posted January 27, 2015 Hi, as I mentioned in the title I have problem with sprite shadows if sprite belongs to group. To make shadow i used this example:http://examples.phaser.io/_site/view_full.html?d=display&f=sprite+shadow.js&t=sprite%20shadow but when I add sprite to group then shadow renders on top of sprite. Here is jsfiddle showing my problem:http://jsfiddle.net/u3mGL/6/ Any idea how to fix it? P.S. I solved this partially by adding tinned sprite firstly and then normal sprite as a child, but this is not good for me because now i can't change, for example, alpha in parent and child independently (or can I?). Link to comment Share on other sites More sharing options...
Recommended Posts