Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - subzaku

Pages: [1]
1
Support / Stop tk2d auto refresh
« on: April 17, 2017, 10:00:48 am »
Hi, i'm having trouble using tk2d when my assets is already so big and so many collections, everytime unity do refresh even just change script i need to wait 20-30 seconds. after experimenting i found that the problem is -tk2d.asset (i tried build new project, add all the script without the asset and the problem is gone)

i already uncheck the auto update on tk2dpreference
i tried commenting the auto rebuild function in tk2dAutoRebuild but it didn't do anything.
so i wonder can i stop the -tk2d.asset do auto check asset whenever unity is refreshing asset?
Thanks

2
Support / Multiple material and shader for 1 sprite collection
« on: March 16, 2017, 04:58:09 am »
Hi, i have a sprite collection containing my inventory sprite and the sprite is colored, i want to make cooldown effect so when it is on cooldown i'm masking the desaturated sprite over the grayscale, and when it's off cooldown, i show the colored sprite

What i did is:
1. I make 3 material, 1 for colored, 1 for desaturated, 1 for grayscale
2. Change the respective sprite material shader and apply it to each object

so far it's ok, but when i run the game all the material reverted back to the 1st material which is the colored one.

is there any way i can change the sprite color to grayscale using only 1 sprite collection and just multiple material?
thanks

Update:
I tried commenting the update material function on tk2dsprite, it works, but i wonder is it gonna cause any problem?

3
Support / 2D lighting problem
« on: March 27, 2015, 06:04:55 am »
Hi, i'm trying to use unity lighting on tk2d sprite

i used litblendvertexcolor shader and it works but there is one problem, the light is pretty bright around the edge and a bit dim in the middle
i used point light by unity

did anyone had the same problem? thanks

4
Support / Multiple Size Sprite Problem
« on: October 17, 2014, 11:04:55 am »
Hi, i just recently buy this 2d toolkit

i have multiple size sprites for animation, idle is 64x64, atk is 100x64 and some other size
i wonder if we can use multiple size sprite on 1 sprite collection then use it in animation without changing the position of the sprite
my sprite keep moving left and right

thanks

Pages: [1]