Comments (9)
The (tiled) save format should be no issue, both formats (.tmx and .tmj) are supported.
Please be a bit more specific about your problem
- Which version are you using, C# or GDScript and is the plugin successfully enabled?
- At which point what fails to happen? Are there specific error messages?
from yati.
So I am using the GDscript version. Sorry for not explaining that part. When i go into Project settings>plugins. it does not show up to enable. So i guess thats where my first error is occurring.
from yati.
Okay so i got the plugin to show up withing the project settings area, i put the map and its used tilesets in the godot project folder. i reloaded the project, but i didnt see anything different besides a red X being beside the tiled map.
from yati.
res://addons/YATI/TilemapCreator.gd:152 - Invalid call. Nonexistent function 'sort_custom' in base 'Nil'.
Error importing 'res://test tiled yati plugin.tmx'.
from yati.
Hmm, ok, I suspect that the function tileset_creator.get_registered_atlas_sources() returned nothing.
Despite the fact that this error could be handled better, there must be some quite unusual condition in your Tiled design.
I was not able to reproduce such a behaviour.
Would it be possible for you to zip the Godot project and append it here?
from yati.
well i got it working then it broke again, ill sed you what i have, ive tested a lot of possible issues, but im not sure why it works one second then refuses the next, if you do find out what im doing wrong let me know. I had to start a brand new project to get the plugin to function correctly, and the file im sending you will be that exact project that is breaking now. I do appreciate the help. Its an awesome plugin. Sending Zip next
from yati.
from yati.
The Tiled design inside the Godot project turned out to be inconsistent i.e. several .tsx files and .png files were wrongly located.
As soon as I loaded RoM.tmx into Tiled it looked like this:
Please note that for all files Tiled is using their names and (mostly relative) paths are stored inside the .tmx and .tsx files.
(You can see that by loading .tmx or .tsx files into a text editor, paths can be found at the beginning of the file)
-> If you copy a Tiled project to another location better keep it's directory and file structure.
Luckily that can be repaired inside Tiled by relocating the missing resources.
And that's what I've done.
- First I shifted all .tsx files into the (empty) folder 'Tsx Files' and all .png files into folder 'Png Files' to clean up
- I restarted Tiled and loaded RoM.tmx
- I relocated all references by clicking through the missing messages and using 'Locate...' (right at the bottom)
- I saved all changed files.
After that the project imported smoothly into Godot.
Appended is the repaired Project.
Tiled Yati Test (repaired).zip
from yati.
Since no further comments were made, the issue appears resolved.
from yati.
Related Issues (20)
- godot_node_type and/or res_path are not loaded from property types file. HOT 12
- Godot 4.2 - `TileMap.CellQuadrantSize` got renamed HOT 2
- AstarGrid2D (get_cell_tile_data) does not detect "custom data layer" in Tilset HOT 1
- How do I access raw tile id data? HOT 4
- Error `Can't find file 'uid://byk7emqeyttmh::::res://assets/mytilemap.png'.` HOT 3
- Reimporting multiple maps at once with same tileset results in hundreds to thousands of errors HOT 2
- Please add Object IDs to the imported nodes HOT 6
- Add a way to set the TileSet Texture NormalMap Texture and Specular Texture HOT 5
- Maps in projects exported on macOS are lacking collision data HOT 7
- Can't add multiple Tiles Collision Shapes with different physics_layer HOT 3
- Tile Collision Polygons not updating in Godot. HOT 3
- Make runtime loading compatible with threads ? HOT 2
- Need some help for the c# version HOT 1
- Support TileMapLayer nodes from Godot 4.3 HOT 7
- Error when enabling HOT 5
- GDScript Installation fails with Class "CustomTypes" hides a global script class HOT 6
- Option to import TSX files as an external TileSet resource HOT 6
- Custom Properties defined on object tile definitions do not propogate. HOT 4
- add_id_as_metadata does not work on instance items HOT 3
- Runtime package breaks when project is exported HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yati.