Hello Guest

Author Topic: How i can make animation with additive?  (Read 6241 times)

Nikita

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 10
    • View Profile
How i can make animation with additive?
« on: February 28, 2012, 01:07:06 pm »
I know that i can make special sprite collection and use shader particle/additive. But can i make it in one sprite collection i didn't see toggle additive for animation sprites =(

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: How i can make animation with additive?
« Reply #1 on: February 28, 2012, 02:51:32 pm »
You don't necessarily HAVE to create a new sprite collection to achieve this. Set your sprite collection to use premultiplied alpha (make sure its using a Premul shader too), and you can then select individual sprites and mark them as additive. These will batch correctly with normal blended sprites too, so you don't need a special material to use it. You can then use this as a frame or frames in an animation.

Nikita

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: How i can make animation with additive?
« Reply #2 on: February 28, 2012, 05:57:31 pm »
Sorry, but i can't see additive toggle for animation sprite in menu sprite collection editor, but i see it for standart sprite, not for namesprite/numberOfFrame sprites (added from sprite sheet) =(

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: How i can make animation with additive?
« Reply #3 on: February 29, 2012, 12:52:49 pm »
You are right, it isn't in the sprite sheet import options - in the rare cases we used it on one or two frames, never on an entire sequence. I'll add this for 1.57 patch1 - there are a few bugs which were reported lately, making the fix necessary.

edit: it has been added for the sprite sheet import now
« Last Edit: February 29, 2012, 01:43:08 pm by unikron »