Jump to content

Accessing Pixel Array of a Sprite


arcbox
 Share

Recommended Posts

Hello,

 

I am new to Phaser and I'm currently investigating whether the framework suits my projects needs. One of the requirements is that we can loop through an images pixel array (in this case, a players hair), and change the color of the pixels.

 

Is this kind of image control available?

 

Thanks!

 

Link to comment
Share on other sites

That seems reasonable, we already split out the entire head from the rest of the player, so splitting out just the hair would work.

 

I'm using the 1.2 beta right now, is there anywhere to look for documentation on how to tint the Sprites?

 

Thanks for the response!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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