[ad_1]
is their any manner so as to add shadow and description to sprites? like label has these parts so as to add.
@zzf520 @slackmoehrle
@RAAng @huynhthuan @linrm
is their any manner so as to add shadow and description to sprites? like label has these parts so as to add.
Yes there may be
You can create the identical sprite with the shadow on it and for instance when the participant presses on the sprite / button it adjustments it’s present sprite to the sprite with the shadow,
and when reclicking on it adjustments to it’s regular sprite
cocos creator doesn’t present parts to attain this impact, you possibly can attempt to add your individual.
If you completely need to do it dynamically with a shader, it’s best to look into signed distance fields.
Here is an effective tutorial collection about them, not in cocos, however because it’s solely shaders, it may be made in cocos too :
[ad_2]