Jump to content

Change a color of an image?


Recommended Posts

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!

Link to comment
Share on other sites

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:


good luck!
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...