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
Atlas spritesheets (Converter tool & pixi.js Loader) #228
Comments
[edit: fixed] |
Esoteric software had requested my project files for debugging and I asked if they can say something about my converter problem or if they plan to integrate a json export for spritesheet data, ... |
Esoteric software released a patch to avoid crashes if an image file will be generated inside the source images folder. And my atlastojson tool works now!!! The last frame was missing. I am going to animate some birds now :) |
Update, new feature, my tool can read the size of an spritesheet image by an external source (url or local url) or if the image is inside the tool folder. I will have a look at the pixi.js loaders now ... |
Here is my first pixi.js loader version for atlas files It works fine, but rotated images are not supported yet as you can see :) How can I rotate textures? |
Trimmed textures does not work in pixi yet, right? |
Closing issue, PR exists |
Hello, sorry to re-open this issue, but it seems that the converter doesn't work. Whenever I paste my atlas file nothing seems to happen - all I get is the following error in the js console: TypeError: frames[i].position is undefined (line 158). |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I launched spine and detected that it creates altas files for sprite sheets, which are not supported by pixi.js currently.
I have written a tool the last night to convert atlas files to Texture Packer compatible JSON files.
http://my.shrt.ws/mct/base/tools/atlastojson.html
You have to set the spritesheet image size first. After that you can paste the atlas file content into the upper textarea.
The source file is located here: https://github.com/MKelm/mct/blob/master/lib/base/tools/atlastojson.html
A pixi.js demo made with converted data is here: http://my.shrt.ws/mct/spine/space/test.html
Update: I am working on an atlas parser currently, see posts below ...
The text was updated successfully, but these errors were encountered: