Open 8bitgentleman opened 10 years ago
There is already the tmxviewer. I don't know how good that integrates within macOS though.
I'm not sure how to use the tmxviewer under maxOS but a Quicklook plugins let the user to view a preview of the file by just selecting the file and hitting spacebar. Right now in macOS when a .tmx file is selected and the user hits spacebar a window pops up showing lines of code, not exactly a useful preview.
@8bitgentleman Would you be able to help set this up? I'm not sure where to start. The tmxviewer would probably make for a suitable application for performing the Quicklook, but somehow the application needs to tell OS X to use it for that purpose.
I can take a look at this but I'm relatively inexperienced and I don't have a ton of time. A quick google search brings up some useful resources http://blog.10to1.be/cocoa/2012/01/27/creating-a-quick-look-plugin/ https://developer.apple.com/library/mac/documentation/userexperience/conceptual/quicklook_programming_guide/Introduction/Introduction.html I'll let you know how it goes.
@8bitgentleman Hmm, that looks way more complicated than I had imagined. Apparently you can't just associate some helper application for doing a Quicklook, but you need to write a plugin that generates something (like an image) that the Quicklook application supports.
How does tmxviewer integrate into macOS right now? Maybe there's some kind of workaround.
@8bitgentleman Hmm, at the moment tmxviewer does not integrate into OS X at all. It is a command-line application that is currently compiled as its own tmxviewer.app. I even noticed right now that it actually won't run as-is because the libtiled library is not included in this .app (that library compiles only into the Tiled.app).
For the mac users of Tiled a quicklook plugin for .tmx files would be very helpful. That way we don't have to open a file to just take a quick look at it.