Comments (3)
Hi Nazar, those lines are known as "seams" and it's a command problem with
rendering 2D graphics in 3D pipelines. What is the size of the texture
being used? If it is over 2048x2048 pixels then that could be the cause. It
can also be caused by using a lighting shader. In that case the only way
I've found to fix it is to put a "border" around each tile (see this
tutorial
http://www.firebelly.net/post/114529965784/tile-gaps-using-unity-5-and-tiled2unity
).
For "Vertex Scale" that is something you're setting here, right? I just
tried it myself and it worked okay.
[image: Inline image 1]
Best,
Sean
On Thu, Apr 28, 2016 at 3:42 PM, Nazar [email protected] wrote:
Hi, Sean.
I am so much grateful to you for the this importer. But recently i
discovered some problem after import *.tmx. In my unity project i saw a
long line on imported prefab, and they were on
on the border of a title compound. i am not possible describe it, you
could see in pictures
The first pic is view in Unity proj
[image: unity_viev]
https://cloud.githubusercontent.com/assets/14891592/14900343/c6845c0c-0d98-11e6-8b91-d58b5e2a6859.png
And second pictures is TiledEditor view
[image: tiled_viev]
https://cloud.githubusercontent.com/assets/14891592/14900344/c6886fcc-0d98-11e6-9db4-6e02e86a2509.png
Pls take me some advice about fix it.
And i want ask you about custom value "Vertex scale" - its field is not
save specified value: I wrote "0.01" and pressed BigButExport. Export was
been done, but in log-line i saw vertex-scale value as "1.0" - what i didi
wrong?—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#34
from tiled2unity.
Yes, i am used map with size over 2048p (43*43 tiles with 64x64p size), but it not at full size now - i need create bigger map...a lot more. So, i will try re-create tile-map with border lines, may be it will good for me. Thank a lot, Sean.
A few words about vertex scale.
Previously, when i was importing tiled-map, Render Sprites (in the same project) object had a very small scale and I had each of them to install the Scale-value for X and Y coordinates. I think what I'm doing wrong, and ask to see my thoughts:
If I understand correctly, its constant need for tranpond correctly the ratio of the amount of pixels on the inside Unity value - Units. Also for the correct size of tiles, which are imported have been internally Unity like sprits Render. So. Okey.
I have tiled map with 64x64p size of tile. What is the value of the vertex scale should I choose to equal the size of the map and imported Renden Sprite the same size? And main quuestion - what is Pixel per Unit must be imported Render Sprite. I am try edit VertexScale-value in Tiled2Unity, but after import i didnt saw any changes of ratio in unity project. Therefore i read log tiled2unity and saw non-editing value of VertexScale, and i decided that the case it.
PS. Sorry for a easy questions, i just started work with Unity.
from tiled2unity.
In the latest Tiled2Unity I have made it easier to implement vertex scale by having it be the same as the "Pixels Per Unit" value that you enter for your sprites in Unity.
from tiled2unity.
Related Issues (20)
- Error Report HOT 22
- Tileset file does not exist HOT 4
- Object reference not set as an instance while parsing layer data as Xml elements. HOT 3
- Tiled2Unity: “Object reference not set to an instance of an object” HOT 5
- After recent update: FileNotFoundException and NullReferenceException, import stalls forever
- Preview scale?
- Tiled2Unity doesn't import map with textures into Unity
- Error Finding Textures HOT 3
- Animations won't play on objects on Object Layers HOT 5
- Tiled2Unity exports only .xml and creates no prefab / Preview complains about index out of range HOT 2
- "The object you are trying to replace does not exist or is not a Prefab." HOT 6
- Unity Android and Tiled2Unity Blurred Textures Issue HOT 2
- ICustomTiledImporter not called
- Warning: Rectangle has no width/height HOT 2
- Importing map problem. Getting error missing texture HOT 4
- Issue HOT 2
- Vertex numbers in meshes changing into "Infinity" or "NaN" after export HOT 2
- After i export a map with tiled i find it on prefab HOT 1
- How do i fix these compiler errors? HOT 1
- Tiled- why does it say it cant find my files
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 tiled2unity.