2D Toolkit Forum

2D Toolkit => Support => Topic started by: mike2d on January 16, 2013, 09:54:17 am

Title: change color sprite on the fly
Post by: mike2d 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
Title: Re: change color sprite on the fly
Post by: NaiDriftlin 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.
Title: Re: change color sprite on the fly
Post by: mike2d on January 16, 2013, 01:16:29 pm
thanks  ;D