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

Tiled map tutorial: Import object types is different in 1.9.2 #1845

Open
Ethanol6 opened this issue Feb 15, 2023 · 3 comments
Open

Tiled map tutorial: Import object types is different in 1.9.2 #1845

Ethanol6 opened this issue Feb 15, 2023 · 3 comments

Comments

@Ethanol6
Copy link

I'm following along with the tutorial to create maps with Tiled. However, there is no longer a menu item under "view" for "import object types". I found no way of importing the objecttypes.xml file.

Also, it would appear that the type attribute has been replaced by class.
https://doc.mapeditor.org/en/stable/manual/custom-properties/#custom-classes

@dorkster
Copy link
Collaborator

It looks like it got renamed, but the feature is still there. Go to View -> Custom Types Editor and then click Import. In the file dialog, you'll need to change the filter from Custom Types files to Object Types XML. I added a note to the wiki page to reflect this.

Didn't know about the change from "type" to "class". The old format should still work, at least with Tiled 1.9.2.

@Ethanol6
Copy link
Author

Yeah, I see that option but it is greyed out. Doesn't seem to change depending on what layers or objects I have selected.

@dorkster
Copy link
Collaborator

I see. It looks like that feature only works if you're working in the context of a project. So you'll need to create project with File -> New -> New Project first, and then add the folder which contains your map to it.

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