Giter Club home page Giter Club logo

Comments (5)

SBCGames avatar SBCGames commented on August 30, 2024

We are using R9 with .xml and it works. I will check if there is some change in .json. Any chance you sent me also source animation (in case bug is elswhere)?

from spriter-player-for-phaser.

enriqueto avatar enriqueto commented on August 30, 2024

animation

These are the files our designer produced. I use a Texture Packer generated altas instead.

from spriter-player-for-phaser.

enriqueto avatar enriqueto commented on August 30, 2024

sorry he uses these files:
client

from spriter-player-for-phaser.

SBCGames avatar SBCGames commented on August 30, 2024

Ok, then things are more clear. I spent some time with it and:

  • Phaser does not support rotated images in atlas. Most of them is rotated in your atlas - switch it off in TexturePacker,
  • path stored for individual images in your atlas is "miembros/image_name.png". Spriter Player currently strips out everything but image_name. I do not use Texture Packer as I have my own tool with additional special features 😄 , but I know, it is possible to instruct TP to not include file extension. I am not sure, if it is possible also to force it to not add path. If not, then just move images one folder up where Spriter animation resides.

Please, try and let me know.

from spriter-player-for-phaser.

SBCGames avatar SBCGames commented on August 30, 2024

Look at "news". I added possibility to set type of image names in optional parameters in Spriter.SpriterJSON when loading animation. Only issue is now unsupported rotation of atlas images.

from spriter-player-for-phaser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.