owen Posted May 26, 2015 Share Posted May 26, 2015 Hi I want to make a boss sprite 'flash' when it takes a hit. I am thinking along the lines of doing something to the colour of the sprite, maybe turn it red then back again. So maybe apply some kind of colour filter on it. What I want to avoid is having to swap to a different coloured sprite and back again. Any ideas? ThanksO. Link to comment Share on other sites More sharing options...
Kartou Posted May 26, 2015 Share Posted May 26, 2015 Maybe using tint will get the effect you want sprite.tint = 0xff0000; Cheers! owen 1 Link to comment Share on other sites More sharing options...
owen Posted May 26, 2015 Author Share Posted May 26, 2015 Maybe using tint will get the effect you want sprite.tint = 0xff0000; Cheers! That worked a treat - thanks! Link to comment Share on other sites More sharing options...
Recommended Posts