Tile Identifier

I am looking for someone to write, not a plugin, but a utility that will be shipped with a plugin that Sharm and I are working on.


The plugin requires the user to enter a Tile ID which could be anything from 0 to 1535.  Unfortunately, the Tile ID is not shown anywhere in the editor - either on the Tilesets tab or on the palette, so the users will either need to count up the tiles themselves, or rely on the tile description and the text file being present.  Neither is very user-friendly.


I would like to have a standalone web page that they can open locally (or I can put on my server and provide the URL) that will allow them to open an image file from their Tilesets folder, specify what kind of tilesheet it is (A1-A5, B-E) and it will show the image with a grid overlaid, and the Tile ID of every tile on that sheet.  This could either be printed for all tiles onto the grid, so all visible at once (might be an issue with colours), or a single Tile ID shown above the image, which changes as they move the mouse over the image onto different tiles.  


The plugin will be compatible with the Change Tile Size plugin, so a 48x48 grid should not be assumed.  The script should be clever enough to calculate the tile size and grid size after the image has been loaded and the kind of tilesheet selected.


Please let me know if you're interested in having a crack at this.  I expect the plugin to be working in the next day or two.
Just curious, If you want it to be open as a webpage, I assume you want to avoid using flash if at all possible?


This sounds like a super cool idea 😀
Yep.  I'd prefer it to be as lightweight as possible, and run on PC as well as Mac.  I'm sure it's possible to do the whole thing in JS, but my JS is limited to the MV context and only a small part of it at that.  This tool doesn't need to link to any of the MV library (preferable that it doesn't).
So just a standalone thing you can upload a map to that has a set grid over top to identify tile id.


I think I can arrange that with my cousin who is a java dude, but keep looking as he is a busy guy, but i definitely would like to attempt it 😀
Java or JavaScript?  They're not the same thing.


Don't disturb him if he's busy - I'm sure there are a few people here who would be able to do this up.  In fact I could do it myself if I knew how to do the html stuff and wrap the script inside it.  One of the units I have to study this term I recently discovered is javascript, but I don't want to wait that long to get it working 😀


I could just provide png files that can be layered over the top of the tilesheets (obviously not saved) that would do the job too, which is probably the next-best solution, and will certainly work as a temporary replacement.

Original thread: https://forums.rpgmakerweb.com/threads/tile-identifier.64654/