Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

there will be a gap between up hexagon and down hexagon #74363

Closed
newjbl opened this issue Mar 4, 2023 · 1 comment
Closed

there will be a gap between up hexagon and down hexagon #74363

newjbl opened this issue Mar 4, 2023 · 1 comment

Comments

@newjbl
Copy link

newjbl commented Mar 4, 2023

Godot version

4.0 stable

System information

windows 10

Issue description

for godot 4.0 stable version. when i use tilemap and set tile shape as half-offset , and the tileset is a hexagon.
the tileset picture is 120140, so i set this size in the tileset.
and set the tilemap size as 120105, i caculate it and sure this is a right size.
image

but after running the game, there will be a gap between up hexagon and down hexagon. there is no gap between left hexagon and right hexagon.
image

i also try to use the tilemap set the tile shape as hexagon, but the issue still happend.

Steps to reproduce

use tilemap and set tile shape as half-offset , and the tileset is a hexagon.
the tileset picture is 120140, so i set this size in the tileset.

Minimal reproduction project

no

@kleonc
Copy link
Member

kleonc commented Mar 15, 2023

Looks like a duplicate of #62911 to me. Can't test as there's no minimal reproduction project provided.

@newjbl Can you test if #74814 fixes this for you? To do so you can download artifact from its CI actions (here's a one for Windows).

Edit: I've actually downloaded this exact tile set and tested it myself with #74814 and this tile:
dirt_13
The result is the same as in here, the seams are still visible with my fix. The cause is... the tile itself, it's originally drawn with shading, which make it's effectively 104 units in height. Changing the settings accordingly makes it tile as expected (even in v4.0.1.rc1.official [d23922f]):
SHdx3VL58X
godot windows editor dev x86_64_C3teQJoePZ

I don't see anything wrong on the Godot side in here, closing as not a bug.

@kleonc kleonc closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants