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

Showing no tiles on collision layer. #28

Open
HollyEye opened this issue Feb 20, 2023 · 2 comments
Open

Showing no tiles on collision layer. #28

HollyEye opened this issue Feb 20, 2023 · 2 comments

Comments

@HollyEye
Copy link

Hi, im using Godot 3.5 and Ldtk 1.2.5 and after the update of ldtk to the latest update (1.2.5) the collision layer is not showing any tiles. Any fix for that?
NoTiles

@blabtonic
Copy link

blabtonic commented Feb 20, 2023

I am experiencing the same issue
#27
What I did on my end was edit the LDTK.gd

I edited on line 189 and changed

tilesetId = layer.autoTilesetDefUid

to

tilesetId = layer.TilesetDefUid

don't think this is a proper solution but I got the tilemap images to show up

@notetell
Copy link

notetell commented May 12, 2023

So I encountered similar problem. I saved the project.ldtk file in LDTK editor, opened it in Godot 3.5.2 with godot-LDtk-import plugin, but scene only had collisions without graphics.

I ended up opening project.ldtk file, navigating to section that had the name of tile set (SunnyLand_by_Ansimuz-extended.png in my case) and changing option "relPath" to "relPath": "SunnyLand_by_Ansimuz-extended.png" (I put the .png in the same folder as the imported scene). With importing the new .ldtk and saving the scene as .tscn the tiles were displayed properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants