levious Posted August 14, 2016 Report Posted August 14, 2016 Hi! I started using the program recently and it's great. However, I noticed a problem with the "Save as resized/palette swapped" option. I made a resized (0.5) version of my project, which I tried to load in libGdx. The sprites were all over the place. So i checked the .scml files (compared the original and half size versions), and I found that while the coordinates were indeed halved, and the pictures were resized, the sizes in the <folder> tag remained the same. Is this how it's supposed to work, am I missing something? Or is it a bug? Edit: I wrote a script that halves the 'width' and 'height' atttributes of the <file> tags. It works, but it's a bit unconvinient. Quote
lucid Posted September 15, 2016 Report Posted September 15, 2016 This is a known bug. I will try to fix it for the next version. In the meantime, if you just load and resave the resized file, that should correct the sizes and may be a convenient/quicker workaround than your script. Quote
Recommended Posts
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.