Jump to content

TexturePacker JSONHash Clipping?


RyanTheBoy
 Share

Recommended Posts

Hey errybody!

 

I tried to search for this and didn't seem to find anything similar to this issue; I am using TexturePacker to pack a JSON Hash and am running into this funny issue...

 

85W4mgR.png

 

Essentially, the face is being cut off on the left. This isn't all of the sprites however; some of them render fully and look fine. Others aren't showing at all and the majority of them clip oddly like this one.

 

I've included the JSON below as well as the PNG generated with TexturePacker. I had no issues when I used Shoebox so for now I will go through the hassle of booting up my non-Ubuntu pc to use it instead.

 

Thanks for the help folks!

 

JSON

{"frames": {"body":{    "frame": {"x":2,"y":293,"w":263,"h":243},    "rotated": false,    "trimmed": false,    "spriteSourceSize": {"x":0,"y":0,"w":263,"h":243},    "sourceSize": {"w":263,"h":243}},"face0":{    "frame": {"x":267,"y":293,"w":148,"h":219},    "rotated": false,    "trimmed": false,    "spriteSourceSize": {"x":0,"y":0,"w":148,"h":219},    "sourceSize": {"w":148,"h":219}},"face1":{    "frame": {"x":818,"y":314,"w":175,"h":240},    "rotated": false,    "trimmed": false,    "spriteSourceSize": {"x":0,"y":0,"w":175,"h":240},    "sourceSize": {"w":175,"h":240}},"face2":{    "frame": {"x":818,"y":2,"w":185,"h":310},    "rotated": false,    "trimmed": false,    "spriteSourceSize": {"x":0,"y":0,"w":185,"h":310},    "sourceSize": {"w":185,"h":310}},"head0":{    "frame": {"x":475,"y":2,"w":341,"h":403},    "rotated": false,    "trimmed": false,    "spriteSourceSize": {"x":0,"y":0,"w":341,"h":403},    "sourceSize": {"w":341,"h":403}},"head1":{    "frame": {"x":2,"y":2,"w":471,"h":289},    "rotated": false,    "trimmed": false,    "spriteSourceSize": {"x":0,"y":0,"w":471,"h":289},    "sourceSize": {"w":471,"h":289}},"tail":{    "frame": {"x":417,"y":407,"w":138,"h":205},    "rotated": false,    "trimmed": false,    "spriteSourceSize": {"x":0,"y":0,"w":138,"h":205},    "sourceSize": {"w":138,"h":205}}},"meta": {    "app": "http://www.codeandweb.com/texturepacker ",    "version": "1.0",    "image": "body.png",    "format": "RGBA8888",    "size": {"w":1024,"h":1024},    "scale": "1",    "smartupdate": "$TexturePacker:SmartUpdate:68db4318c0c3c22a3e7a1ca29c9a68af:bd1147365b95c49eb71b8c826abb952d:6edbb70161d1b060b04ac1ffb23eaae4$"}}

post-6628-0-20653100-1394298901.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...