2D Toolkit Forum

2D Toolkit => Support => Topic started by: carlos.yang on May 13, 2013, 05:04:21 am

Title: How can i make a board tailor? I mean like the NGUI's plane clipping(hard clip..
Post by: carlos.yang on May 13, 2013, 05:04:21 am
I really want to know how can i make a clipping in 2d tool kit,simply like the NGUI's plane(clipping option).
Title: Re: How can i make a board tailor? I mean like the NGUI's plane clipping(hard clip..
Post by: carlos.yang on May 13, 2013, 07:38:46 am
oh i see , in the new version 1.92,it has clipped sprite.but it has no clipped animated sprite.Hope it will add in new version.
Title: Re: How can i make a board tailor? I mean like the NGUI's plane clipping(hard clip..
Post by: carlos.yang on May 13, 2013, 07:47:06 am
And hope the tk2d camera clipped rect has reverse feature.Because now it is make the object hide in the clipped area,most of time i hope it will make the object hide except the clipped area.
Title: Re: How can i make a board tailor? I mean like the NGUI's plane clipping(hard clip..
Post by: unikronsoftware on May 13, 2013, 10:17:58 am
You can use the clipped sprite with an animation class - in 2D Toolkit 2.0, the animation behaviour is separate to the sprite class, so you'll be able to do this directly. Drop an email to support and I'll send you the class you can use.
Title: Re: How can i make a board tailor? I mean like the NGUI's plane clipping(hard clip..
Post by: carlos.yang on May 13, 2013, 10:59:03 am
oh thanks, but the 2d tool kit camera's clipping property can hide the sprite except the clipping rect?  In 1.92 version is hide the sprite in the clipping rect.
i have no 2.0 version ,i update my 2d tool kit by the unity asset store.
Title: Re: How can i make a board tailor? I mean like the NGUI's plane clipping(hard clip..
Post by: unikronsoftware on May 13, 2013, 11:18:08 am
You should just use the clipped sprite + animation script from 2D Toolkit 2.0. Email support and I'll give you the script.