article thumbnail

How to change the offset of a Tiled Sprite

Cocos

Hi, i want to apply a sprite as a tiled background and apply to it an animation like a movement. I want to give this effect changing the “offset” of the texture/sprite of it. This Node has a sprite set as Tiled

Tile 40
article thumbnail

Tiled Background Cocos Creator 3.7

Cocos

If you want to tile an image, you need to use the Tield (Type) mode of the Sprite component. If you want to tile an image on top of a touchable image, then you need to use the BlockInputEvents component to intercept the response events. Touchable SpriteTiled image (BlockInputEvents)

Tile 40
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

How to render sprite as tiled in cocos creator?

Cocos

How to render sprite as tiled in cocos creator in c++?

Tile 40
article thumbnail

Tiled Background Cocos Creator 3.7

Cocos

How Can I tile the Background on a touch of Sprite in coco creator version 3.7?

Tile 40
article thumbnail

How to change the offset of a Tiled Sprite

Cocos

What you need is an offset of the image that will resemble a glitter effect on the surface of the image. You can refer to this demo to see github.com CocosCreatorShader/demo/2d/Creator3.6.0_2D_FlashLight at v3.6.x x/demo/2d/Creator3.6.0_2D_FlashLight Contribute to yeshao2069/CocosCreatorShader development by creating an account on GitHub.

Tile 40
article thumbnail

Texture flushed when coming back from background

Cocos

Then I use: initWithSpriteFrameName(); to assign them to Sprites. My game is tiled base and looking at the screenshot, I can see the tiles but their textures are pointing to a different texture it seems. Nothing fancy.

Texture 52
article thumbnail

How to change the offset of a Tiled Sprite

Cocos

If I understand correctly, what you want is to do an offset of the content of the image, which you can achieve using a shader.

Tile 40