2D Toolkit Forum

2D Toolkit => Support => Topic started by: Nikita on February 28, 2012, 01:07:06 pm

Title: How i can make animation with additive?
Post by: Nikita 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 =(
Title: Re: How i can make animation with additive?
Post by: unikronsoftware 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.
Title: Re: How i can make animation with additive?
Post by: Nikita 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) =(
Title: Re: How i can make animation with additive?
Post by: unikronsoftware 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