article thumbnail

Weird Texture issue

Cocos

I have a 2d tiled game. On my latest game, I have a weird issue with texture and I have no idea why I have this ( I could only reproduce it once but players do find it from time to time). Suddenly, when the player plays, the screen goes all wrong as if all the textures were now corrupted. Here are some information.

Texture 40
article thumbnail

Creating and Working with Textures in Affinity Designer

2d Game Art Guru

Creating and Working with Textures in Affinity Designer Affinity Designer Video tutorials These two new videos focus on the use of textures in Affinity Designer. Create and work with textures from photos taken with your mobile phone. It’s not entirely necessary for most texturing tasks. older tutorials ].

Texture 52
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

Texture flushed when coming back from background

Cocos

I use texturepacker and I have a few big 1024x1024 textures loaded with: SpriteFrameCache::getInstance()->addSpriteFramesWithFile. 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

Texture flushed when coming back from background

Cocos

ebouchard: ails for 1% when they exit the game for a while and sound like there out cache or something Texture packer has a get upset if you go over 2048x 2048 size so I wonder if its phone needing resource when they go background. What happens if you do a cocos2dx ->retain(); thought that was meant to stop the flushing?

Texture 52
article thumbnail

Feature request: Texture atlas polygon support in CC v3

Cocos

We use Texture Packer v7 and it supports Polygon atlases. Useful links: codeandweb.com Cocos2d-x performance optimization with polygon sprites Are you experiencing low FPS in your cocos2d-x game? 如何重现) Create with Texture Packer or any other tool a Polygon Texture Atlas and apply them into a Sprite in Cocos Creator 2.1.3. (如何重现)

Polygon 52
article thumbnail

Texture flushed when coming back from background

Cocos

On my game, some people experience what seems to be a texture cache being flushed. It does not happen very often and seems to happen when people exit the game and return later. I use 3.17

Texture 52
article thumbnail

Texture flushed when coming back from background

Cocos

Just 2 different ways to initialize the sprites I do load multiple big sprite sheet textures (like 4-5 between 1024x1024 and 2048x2048). This is working fine for 99% of the people and only fails for 1% when they exit the game for a while and come back. I don’t think createWithSpriteFrameName or initWithSpriteFrameName changes anything.

Texture 52