article thumbnail

Cocos2d-x v4 doesn't load Tiled Editor v1.10.1 CSV TMX Tile Maps correctly

Cocos

I’ve posted this similar stack overflow post: tiled - Loading and rendering a Tilemap TMX using Cocos2d-x v4 C++ - Stack Overflow In short, I have a very simple test scene in C++ Cocos2d-x-4 that is loading a tmx file generated from Tiled. xml version="1.0" encoding="UTF-8"?> > <map version="1.10" tiledversion="1.10.1"

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

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
article thumbnail

Cocos2d-x v4 doesn't load Tiled Editor v1.10.1 CSV TMX Tile Maps correctly

Cocos

I’ve posted this similar stack overflow post: tiled - Loading and rendering a Tilemap TMX using Cocos2d-x v4 C++ - Stack Overflow In short, I have a very simple test scene in C++ Cocos2d-x-4 that is loading a tmx file generated from Tiled. virtual bool init() { auto map = TMXTiledMa.

Tile 40
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. Ok so here is the deal.

Texture 40
article thumbnail

D2 log 057 – Tiles, pt.2

Catnip Games

I made a “master sheet” with all the tiles to keep things organized. I implemented a new material system for tiles. In addition to the visible texture, each tile had a lower resolution bitmap which defined the material at a given spot. They are now baked into tiles, so map editing is much easier.

Tile 52
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 I don’t want to make a script that calculate position and if at certain value must to set the start position.

Tile 40