-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Questions about import/export plugin #2781
Comments
That's great to hear! The Python plugin was mostly contributed by @stt so I've just highlighted him as well. :-)
I'll try to include a solution to this in Tiled 1.4.
Can you describe your scenario in a bit more detail? There is
Hmm, why are you storing the whole file there? Since this file is already on disk, wouldn't it suffice to read in the file before writing to it? Though of course, that won't work when you save under a different file name. I guess supporting hidden properties would be a pretty good solution. Btw, really nice to see PICO-8 files supported by Tiled! |
I've added a link back here in the https://github.com/mapeditor/tiled-extensions README. |
I would need that for two features:
Yes, reloading the file from disk would break “Save as…”. Also it feels a bit risky in general, I can imagine a lot of scenarios where the original file disappears, or is modified by source control, or may get corrupt… I think it’s safer if Tiled knows exactly how to recreate the file. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hi, I have written an import/export plugin for the PICO-8 fantasy console cartridge format, which happens to work pretty well so far, and I have a few questions and remarks.
loadFromImage
equivalent for custom tilesets; what are the chances that such a function is going to be available soon?m.setProperty('data', base64.b64encode(cart))
so that the saved cartridge can be byte-per-byte equivalent to the loaded one; is there a way to hide this property so that the user cannot inadvertently delete or corrupt it? in Python at least there is no way to subclasstiled.Tiled.Map
.The text was updated successfully, but these errors were encountered: