Comments (14)
Is this the type of content you're looking for? The only missing bits are the metadata part and fleshing out the post-import section to show how to use metadata there. But gotta test it first.
godot-tiled-importer-docs-notes.pdf
from godot-tiled-importer.
Thanks for the extra to-do. I'm on it, coming tonight or tomorrow.
Regarding the post-import script, do you have any use examples? I guess you could use the imported metadata to append scenes to the level automatically. Interactive elements likes plants, doors, whatever -
anything you should design in Godot. Any other ideas?
from godot-tiled-importer.
Thanks Nathan! Yes, this is the content I'm thinking about.
About metadata, there isn't any at the tile level (because Godot can't handle it natively). It does add to objects since those are imported as nodes. I guess it could be used to add instanced scenes for interactive elements. Could also be used to change some property of the node.
from godot-tiled-importer.
It's close to done, but I'm stuck with the metadata: in the version from the asset library, on Godot 2.1.3, it's nowhere to be found. I checked the inspector on the bodies and shapes (including the resources) where I'd expect to find them, but couldn't. Also, after saving the file to .tscn, a search shows the key, value pairs aren't there either.
Could you give me a hand on this one? Also, should I make the text part of the readme file? And where should the pictures be stored, maybe a 3rd party website like imgur so it's not part of the repo? I'll do a PR as soon as it's finished.
from godot-tiled-importer.
The metadata can't be seen anywhere in the editor. They should be somewhere in the scene file, but I don't if .tscn
support them. You can only access that via code.
About the location, we could either make a doc
folder here with a few files (including images) or use the GitHub wiki. Then the Readme can link to it.
from godot-tiled-importer.
I've got 3 objects on 2 object layers with custom string properties, but get_meta_list()
always returns an empty array. The TMX file is from Tiled 1.0. Do you have any sample project with working metadata I could use for testing purposes?
from godot-tiled-importer.
Here's the text with all requested aspects covered. Could you tell me if it's okay? All that's left then would be testing the post-import script code with metadata.
godot-tiled-importer-docs-notes.pdf
from godot-tiled-importer.
Are you using the AssetLib version? I pushed a few fixes here recently.
from godot-tiled-importer.
Ah right, it works with the addon from the repo - it was the one from the asset store. Okay, the tutorial is pretty much ready to push now. Could you give me access to the wiki? Or I can send you the files when I'm back from the office and let you push everything. I think I need to be added to the repo as a collaborator to use the wiki.
from godot-tiled-importer.
I added you as collaborator. Thanks again for working on this and sorry that I'm quite busy in the past few days to answer you promptly.
from godot-tiled-importer.
No worries. The doc is up for review: wiki page
As there's not too many topics, it's a single page with a table of contents for now. Would you prefer it to be split in 2, or at most 3 different pages?
from godot-tiled-importer.
I think it's okay to have all in a single page. I'll try to review it later today.
from godot-tiled-importer.
I guess we can close this now, the features are documented in the wiki. Thanks again, @NathanLovato!
from godot-tiled-importer.
You're welcome!
from godot-tiled-importer.
Related Issues (20)
- Add support for tiles normal maps HOT 2
- godot 4 (alpha) support? HOT 5
- Wiki Documentation for Tile Names, Animations, Custom Materials, and Z index features
- Save Tiled Properties for single tile not working HOT 1
- Invalid get index 'name' when importing tileset with save_tiled_properties enabled
- Invalid get index 'properties' (on base: 'Dictionary'). when importing tmx file with save_tiled_properties enabled HOT 1
- warning appears when importing the tmx file "core/image.cpp:2051 - Loaded resource as image file, this will not work on export:"
- can you submit one example where you use Area2d the tiled map and the godot project. on godot 3.4 because old version do not work whit new android rulers
- Tiled Editor has updated and Type is now called Class HOT 5
- Default properties are not imported and show `Null` HOT 2
- "Child" class attributes not mapped in Godot as metadata
- Setup unit tests
- Object collisions are no longer positioned correctly in the Y in Godot 3.5.
- Objects are positioned incorrectly after import HOT 2
- New Class property (vs older Type property) : Area generates StaticBody2D instead of Area2d
- Maps cannot be imported at runtime?
- Import objects as tscns? HOT 4
- Feature request: Importing labels
- TMX import crash with 3.6
- Animated Tiles and Godot 4 HOT 1
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 godot-tiled-importer.