Comments (5)
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.
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.
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.
all releases: https://github.com/mapeditor/tiled/releases
from cocos.
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.
from cocos.
Related Issues (20)
- [solved] samples/tetrico/tetrico.py crashes if no .mp3 support and other pyglet 1,4 sound compat HOT 2
- Crash when updating opacity of ColorLayer in python3 HOT 1
- Make it possible to create CocosNodes without initialising the director HOT 2
- pyglet 1.4.10 - spureous traceback quiting test scripts HOT 4
- Python 3.9 failures: AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren' HOT 6
- pyglet 1.5.8 compatibility problem in tetrico HOT 1
- display glitches report HOT 2
- Documentation page missing HOT 1
- Proposing a PR to fix a few small typos HOT 1
- load SDL2 for cocos.audio.pygame.music
- Issues with SDL/pygame audio
- How to install Cocos2d? HOT 1
- add()'s problem HOT 1
- load's problem HOT 12
- A bug of scrolling
- A bug of scrolling HOT 12
- `pip install cocos2d` in python3.11 will raise error HOT 1
- The layer size cannot match the window on MacBook HOT 3
- Problems when using collision model
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocos.