简体   繁体   中英

x-y coordinates & width-height of an image from sprite in html5

I have a sprite with many images.

Is there any method (maybe an app) by which I can get the xy coordinates of an image from the sprite rather than guessing these parameters??

I made this one sometime back, very easy , mouse click and drag

GetSpriteXY

在此处输入图片说明

Use Chrome or Firefox. Will not work in IE and Safari

If you have made your sprite in photoshop or some other image editing software you can get the coordinates from that usually. Alternatively you could use something like SpriteCow!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM