Skip to content
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

Sprite info request #10

Open
JuGGerNaunT opened this issue Apr 21, 2020 · 7 comments
Open

Sprite info request #10

JuGGerNaunT opened this issue Apr 21, 2020 · 7 comments

Comments

@JuGGerNaunT
Copy link
Contributor

JuGGerNaunT commented Apr 21, 2020

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:

private ushort width;
private ushort height;
private uint tgxwidth;
private uint tgxheight;
private ushort offsetX;
private ushort offsetY;
private byte imagePart;
private byte subParts;
private ushort tileOffset;
private byte direction;
private byte horizontalOffsetOfImage;
private byte buildingWidth;
private byte animatedColor;//if alpha 1

Maybe show this info only under some kind of advanced or debug mode.

@PodeCaradox
Copy link
Owner

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

@JuGGerNaunT
Copy link
Contributor Author

Like gif exporter will be fine.

@PodeCaradox
Copy link
Owner

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

@JuGGerNaunT
Copy link
Contributor Author

Yes, just show this info

@JuGGerNaunT
Copy link
Contributor Author

Any progress?

@PodeCaradox
Copy link
Owner

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
Copy link
Contributor Author

JuGGerNaunT commented May 13, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants