Giter Site home page Giter Site logo

Comments (5)

ccanepa avatar ccanepa commented on August 22, 2024

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?

from cocos.

ccanepa avatar ccanepa commented on August 22, 2024

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?

from cocos.

DLDarren avatar DLDarren commented on August 22, 2024

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.

from cocos.

ccanepa avatar ccanepa commented on August 22, 2024

all releases: https://github.com/mapeditor/tiled/releases

from cocos.

DLDarren avatar DLDarren commented on August 22, 2024

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:
image
when have moved:
image
Also, I recognized that when I use an image source which is 1458 * 907 pixels, it has the problem like the original problem:
image
but the problem changed when I used the image source 120 * 120 pixels:
image
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.
image
In addition, My system is Windows10.

from cocos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.