Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [Solved] Setting partial color to a texture  (Read 1416 times)

0 Members and 1 Guest are viewing this topic.

masskiller

  • Sr. Member
  • ****
  • Posts: 284
  • Pointers to Functions rock!
    • MSN Messenger - kyogre_jb@hotmail.com
    • View Profile
    • Email
[Solved] Setting partial color to a texture
« on: September 29, 2012, 05:41:21 am »
Just a small question I couldn't find anywhere else: Is there a way to change color to a sprite or texture directly (without messing with the image first) other than setColor? I want to color some parts of the sprite, but not all of it (mainly leave the white in the image intact), it can be easily done handling the image first, but I know that's not very good timewise.

Edit: Just read a bit further and realized that you can't do it directly, sorry for the dumb mistake of having made this thread (tried deleting it, but it wouldn't allow me).
« Last Edit: September 29, 2012, 06:26:37 am by masskiller »
Programmer, Artist, Composer and Storyline/Script Writer of "Origin of Magic". If all goes well this could turn into a commercial project!

Finally back into the programming world!