Layout (GRID) -auto resize child nodes
Cocos Forums
by @justboy8
3h ago
Is it possible to make child nodes stretch automatically to the size of the parent node? -houseNode[childNode, childNode, childNode, childNode] this is what I get and this is what should happen ..read more
Visit website
I have a question about the 3D tutorial code
Cocos Forums
by @mr.kylin
6h ago
Thanks for your feedback. I’ve checked the code in the tutorial. I found several code lines mistype the ‘;’ by ‘.’; All of them are corrected, go and check the code again ..read more
Visit website
[Tutorial]Outer Stroke Effect for 2D Sprites
Cocos Forums
by @mr.kylin
6h ago
Original: https://forum.cocos.org/t/topic/156878 Author: BitByBit Outer Stroke Effect for 2D Sprites Continuing from the previous article Inner Stroke Effect for 2D Sprites Introduction In the last article, we introduced the method of inner stroke and also discussed its pros and cons. If you are particularly concerned about those drawbacks, the outer stroke effect discussed in this article might be a savior for you. However, you will also have to bear its shortcomings, which is that it is a little complex. Without further ado, let’s explore the vast differences between outer and inner stroke ..read more
Visit website
Init Image by data in Cocs2d-x 2.2.6 to 3.17
Cocos Forums
by @张小三
7h ago
Maybe you should use this method: Texture2D* TextureCache::addImage(Image *image, const std::string &key) . For the first parameter, you can use this method to init a Image object: bool Image::initWithImageData(const unsigned char * data, ssize_t dataLen ..read more
Visit website
[Tutorial] Inner Stroke Effect for 2D Sprites
Cocos Forums
by @justboy8
7h ago
it looks very nice. but I’m trying to do it myself because it’s free. Maybe someday in the future I will buy this ..read more
Visit website
[Tutorial] Inner Stroke Effect for 2D Sprites
Cocos Forums
by @mr.kylin
7h ago
This is called the glow effect, completely different from the outline or bloom effect. Look at Cocos Store, to see if the bloom effect matches your needs ..read more
Visit website
[Tutorial] Inner Stroke Effect for 2D Sprites
Cocos Forums
by @justboy8
7h ago
it looks similar, but I’m not sure. It seems to me that the inside edge of the image is used here, which limits the area of light. In the circles, the light comes after the edge of the image, but I’m not sure. Thanks, I’ll see if I can install this. that’s what I’m looking for. or ..read more
Visit website
[Tutorial] Inner Stroke Effect for 2D Sprites
Cocos Forums
by @zzy
7h ago
Is this what you looking for? Gitee 木限东/CocosCreatorShader 大道至简,殊途同归。 CocosCreatorShader意图在于帮助不会Shader的用户能够快速了解如何使用Cocos Effect。 CocosCreatorShader intends to help users who do not know Shader quickly understand how to use Cocos Effect ..read more
Visit website
[Tutorial] Inner Stroke Effect for 2D Sprites
Cocos Forums
by @justboy8
7h ago
Good afternoon. It would be great to see a tutorial on external frames. I’ll be waiting, hurry up please It would be great to know from the tutorial whether it is possible to create a glow(neon) effect using the outer contour? (2D project) Is it a good option to use the outer frames of the image for the glow effect or is there another standard option? (2D project) (I can’t make such effects ..read more
Visit website
How to make a neon effect in a shader?
Cocos Forums
by @bryang4855
10h ago
Hello, you may want to change the uv0 settings from the shader code. In the example they show on the manual, they made it so that the effect changes along the x-axis from the uv0.x value. It is important to know that the uv0.x ranges from 0 to 1. So 0 means the far left side of the sprite and 1 represents the far right side of the sprite. Try experimenting this value to get the effect that you want. https://docs.cocos.com/creator/manual/en/shader/write-effect-2d-sprite-gradient.html ..read more
Visit website

Follow Cocos Forums on FeedSpot

Continue with Google
Continue with Apple
OR