[ad_1]
is their any means 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 means so as to add shadow and description to sprites? like label has these parts so as to add.
Yes there’s
You can create the identical sprite with the shadow on it and for instance when the participant presses on the sprite / button it modifications it’s present sprite to the sprite with the shadow,
and when reclicking on it modifications to it’s regular sprite
cocos creator doesn’t present parts to realize this impact, you may attempt to add your individual.
If you completely need to do it dynamically with a shader, you need to look into signed distance fields.
Here is an efficient tutorial collection about them, not in cocos, however because it’s solely shaders, it may be made in cocos too :
[ad_2]