2D Toolkit Forum

2D Toolkit => Support => Topic started by: drkucho on May 27, 2015, 09:45:34 pm

Title: Color/Tint of sprites
Post by: drkucho on May 27, 2015, 09:45:34 pm
hello

i have changed the material/shader of my sprites to a custom one that does special things , problem is i was using tk2dSprite.color.a to make my hero transparent when received a hit and it does not work anymore

how is this tint color applied to the sprite? i might do a little hack to make it work with my custom shader...
Title: Re: Color/Tint of sprites
Post by: unikronsoftware on May 27, 2015, 09:52:25 pm
Hi,
Sprite.color comes through as vertex colours.