Giter VIP home page Giter VIP logo

Comments (3)

Seanba avatar Seanba commented on May 17, 2024

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.

sawt00th avatar sawt00th commented on May 17, 2024

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.

Seanba avatar Seanba commented on May 17, 2024

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)

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.