Hello Guest

Author Topic: change color sprite on the fly  (Read 3874 times)

mike2d

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 63
    • View Profile
change color sprite on the fly
« on: January 16, 2013, 09:54:17 am »
hi,

i'd like to know if there's a way to change color of a sprite (any color of the wheel) on the fly (via code) ?

thanks,

mike

NaiDriftlin

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: change color sprite on the fly
« Reply #1 on: January 16, 2013, 11:54:20 am »
http://www.unikronsoftware.com/2dtoolkit/doc/tutorial/scripting_a_sprite.html

That has an example of one way to color a sprite.  It is for over-all sprite scripting, but its an actual working version.

mike2d

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 63
    • View Profile
Re: change color sprite on the fly
« Reply #2 on: January 16, 2013, 01:16:29 pm »
thanks  ;D