Author Topic: Get RGB/Color values from a sliced sprite  (Read 2761 times)

terence

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
Get RGB/Color values from a sliced sprite
« on: January 29, 2013, 03:45:28 AM »
Thinking of doing a simple skin tone picker and I need to grab the RGB color values from different sliced sprites. Would I access the Sprite Atlas as a texture. How would I get the sliced sprite coordinates?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Get RGB/Color values from a sliced sprite
« Reply #1 on: January 29, 2013, 05:51:22 PM »
Simple answer: math. Easier answer: use a normal sprite instead, it's a lot easier.