Hello Guest

Author Topic: Color/Tint of sprites  (Read 3290 times)

drkucho

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 72
  • Retro Arcade Freak
    • View Profile
    • Dr. Kucho!
Color/Tint of sprites
« 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...

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Color/Tint of sprites
« Reply #1 on: May 27, 2015, 09:52:25 pm »
Hi,
Sprite.color comes through as vertex colours.