0 votes

My problem: TileMaps imported from Tiled have the proper Tile Set resource assigned, but the maps themselves are blank.

I'm using the latest version of Godot (via Steam), and the Tiled Map Importer plugin, 2.0, from the asset library. The tiles are 16x16 pixels and contain no collision data, or anything else.

I don't get any errors when importing the .tmx file (along with the .tsx tileset and the .png graphics sheet), but when I open the imported .tmx file (whether viewing the original or opening it as an instance in a new scene), all the TileMap nodes are empty. All the layers I used in Tiled are present and set to visible; they're just blank.

I'm completely at a loss here. I've tried reimporting everything multiple times, exporting the map as a .json file instead. I can use the imported .tsx tilesets just fine. I haven't changed the default settings for either the plugin or Tiled.

I don't know what I might be missing or doing wrong, or if this is just a bug outside my control, but any assistance would be appreciated.

Thanks!

Edit: Images added.

Tiled screenshot
Godot screenshot

in Engine by (17 points)
edited by

1 Answer

0 votes

When you say "importing the .tmx file (along with the .tsx tileset and the .png graphics sheet)" do you mean that you're moving them into your project after creating the tilemap? I think this could cause the problem you describe, since the .tmx file references the location of the tileset on the disk. If nothing works you can file a bug report at https://github.com/vnen/godot-tiled-importer/issues

by (529 points)

Sorry for my lack of clarity. I've added screenshots to my original post to help explain. I work on the files outside the project folder and then copy them in when I want to see them in-game, so the files are in their original locations and inside the project.

Edit: I just noticed my .tsx files are apparently associated with GIMP. I'm not sure how that happened; I mostly just use paint.net, and they shouldn't be associated with either, anyway...

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.