Gap between tiles 64x64 pixels, but less issue at 128x128 pixels

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Qws
:warning: Old Version Published before Godot 3 was released.

As you can see in the printscreen I have lines/gaps between Tiles in my project, I’ve no idea how to deal with it.

I’ve made the tiles in 128x128 and 64x64 in Illustrator, and in Godot tile i’ve setted it also 64x64. Yet there are gaps between them?

I’ve disabled all filters and increasing sizes of the original assets cause other problems. I’ve replicated project in Godot 3 and issue seems less, but the small 64x64 tiles still have gaps.

Gaping between tiles

Bigger resolution: bigger image

Use 1 pixel grid snap, and zoom into the gap. What do you see?

Artium Nihamkin | 2018-01-01 22:02

did you try 2d pixel snap option at project setting?

volzhs | 2018-01-02 01:55

Are you sure that the squares were created with solid uniform color right to the edge? It looks like what would happen if the squares were created with anti-alias enabled.
Have you tried placing two squares adjacent in your graphics editor to see if you have the issue?

Michael Paul | 2018-01-02 02:19

Can you show screen of where I can find “grid snap” option?

Qws | 2018-01-02 08:49

I can’t find the “2d pixel snap” option at Project Settings.

Qws | 2018-01-02 08:50

I’ve not changed any settings, but if I zoom in it looks like this: https://i.imgur.com/9X6mB2j.png It looks kinda off… I don’t know why it’s like this.

Qws | 2018-01-02 08:55

:bust_in_silhouette: Reply From: Qws

Another lesson, don’t distrust Godot for Adobe!

All the time I thought Godot was messing up my tile size/resolution, but after checking the exported arts again in details, I confirmed that the art were not exported as Adobe Illustrator should.

It was Adobe’s mistake, the option anti-aliasing was toggled on and causing making art bigger than they should, I turned it off and the results are much better now. For some reason Adobe Illustrator still exports art 1x1 pixel bigger than it should, but I can deal with that.