Open DLDarren opened 1 year ago
Can you modify the example in tests\test_tmx.py to use your map? If it shows the same problem, can you upload a zip with all files used, including code, map, tileset's image?
Also, which pyglet version and which GPU are you using?
Also, from https://doc.mapeditor.org/en/stable/reference/tmx-changelog/ , Tiled 1.9 did some changes that were partially reverted in Tiled 1.10 for compatibility with Tiled < 1.9
Maybe load the problematic map in Tiled 1.8 to see if it show right?
Sorry for response so late. I'm using pyglet1.5.27. My GPU is GeForce MX250. I can't find Tiled < 1.9 because it just provide the latest version of Tiled.
all releases: https://github.com/mapeditor/tiled/releases
The map loaded in Tiled1.8.6 properly. I loaded the map in test\test_tmx.py to use my map. It looks good at first. However, it began to have black lines around the tiles when I started to move and cocos began to invoke set_focus(). when haven't move: when have moved: Also, I recognized that when I use an image source which is 1458 907 pixels, it has the problem like the original problem: but the problem changed when I used the image source 120 120 pixels: I just changed the picture's size and didn't changed any tiles or the tiledmap. Here's the screen shot of the map after ctrl+W. In addition, My system is Windows10.
I met a problem when I was using cocos to load a .tmx file. Cocos doesn't seem to be cutting the tile set correctly when loading the tiles. It looks like these in cocos: While the same places in Tiled: these are the tiles in the tile set picture: I'm using cocos0.6.10 and Tiled 1.9.1 here's the map: `<?xml version="1.0" encoding="UTF-8"?>
` I have used different maps created with the same version of Tiled, but all of them didn't look well in cocos. However, I succeed when I used a map which was edited in Tiled1.2.5 downloaded on the internet. I guess the problem might be that cocos has some problem with the latest Tiled edition.