<font size="5">Change Color Hue Of A Sprite?</font>
How would I change the color hue of a sprite?
I need to make my spaceship turn red hue when hit by asteroid.
We don't have great access to per-pixel operations with html5.
However it is possible to use an fx(webgl) to do that.
There a plugin might help you
Develop games in your browser. Powerful, performant & highly capable.
The tint FX works pretty well, if you know the platform you're going to be running on supports webgl.
Otherwise I had to fall back to using a recolored animation for the sprite.