Josepho Posted January 29, 2014 Share Posted January 29, 2014 Hi there, first of all, many thanks for this wonderfull engine! Now i have two questions: > How can I change color of an sprite? is there any way to do it in phaser? If not, any info for noobish people like me to know how to do it ? > How can I get the color info of a pixel of a sprite? For example, if I want to know, which is the color of the pixel 1,2 of an image how can I do it?? Many thanks! alessandronunes 1 Link to comment Share on other sites More sharing options...
jcs Posted January 30, 2014 Share Posted January 30, 2014 search is your friend - these forums have covered a lot of ground in the past, and many questions have already been asked & answered before. for instance: http://www.html5gamedevs.com/topic/3400-tinting-sprite-color/?hl=sprite http://www.html5gamedevs.com/topic/3099-get-pixel-value-in-a-sprite/?hl=pixel http://www.html5gamedevs.com/topic/2562-how-to-get-color-of-pixel/?hl=pixel good luck! alessandronunes 1 Link to comment Share on other sites More sharing options...
Josepho Posted January 30, 2014 Author Share Posted January 30, 2014 Many thanks! Link to comment Share on other sites More sharing options...
Recommended Posts