PodeCaradox / Gm1KonverterCrossPlatform

A tool to convert strongholds gm1 and tgx files to png.
MIT License
28 stars 7 forks source link

Sprite info request #10

Open JuGGerNaunT opened 4 years ago

JuGGerNaunT commented 4 years ago

It would be nice to be able to watch gm1 sprite info by clicking on image. Info like sprite index, its width and height and all other info that game uses. Like this: https://github.com/PodeCaradox/Gm1KonverterCrossPlatform/blob/f5f44afc317b21efec90022dd30d58c58c1b823c/Gm1KonverterCrossPlatform/Files/TGXImage.cs#L21-L33 Maybe show this info only under some kind of advanced or debug mode.

PodeCaradox commented 4 years ago

How you want this, with a extra Window like the info button one. Or like the gif exporter you can just expand it?

JuGGerNaunT commented 4 years ago

Like gif exporter will be fine.

PodeCaradox commented 4 years ago

but only showing them not editable correct, because it maybe can have some trouble edit them?

JuGGerNaunT commented 4 years ago

Yes, just show this info

JuGGerNaunT commented 4 years ago

Any progress?

PodeCaradox commented 4 years ago

I have implemented it, but problem is for tiled image i crop together(1 Image in front but underneath they are much more the tiles and images above). If i should add it i need to make each tile clickable on the right or somehow else to show the information. grafik

JuGGerNaunT commented 4 years ago

At least it work for other images types. Anyway, even you want to somehow add support for tiles, current implementation is sufficient as the first iteration