JJTooKind

  • 12 авг 2015
  • Регистрация: 18 сен 2014

    Hi,

    I've got the same mistake with a whole new spine object I have made.
    It's a really simple object, just an orb moving up and down.
    When I put the JSON in the Skeleton Data it just says : "Missing region 'orbeOhiti' "

    My JSON file is

    {"skeleton":{"hash":"4p5KCr1vpHgEHlKjGJlp+vIN7nQ","spine":"2.1.27","width":128.66,"height":128.66},"bones":[{"name":"root"}],"slots":[{"name":"OrbeBravoure","bone":"root","attachment":"orbeOhiti"}],"skins":{"default":{"OrbeBravoure":{"orbeOhiti":{"x":-0.78,"scaleX":0.032,"scaleY":0.032,"width":4000,"height":4000}}}},"animations":{"flottement":{"bones":{"root":{"translate":[{"time":0,"x":0,"y":10,"curve":[0.25,0,0.75,1]},{"time":1.1666,"x":0,"y":-10,"curve":[0.25,0,0.75,1]},{"time":2.3333,"x":0,"y":10}]}}}}}

    And the atlas file is :

    OrbeBravoure.png
    size: 1024,1024
    format: RGBA8888
    filter: Linear,Linear
    repeat: none
    orbeOhiti
      rotate: false
      xy: 2, 2
      size: 628, 628
      orig: 800, 800
      offset: 86, 111
      index: -1
    

    Everything seems good to me but I have the error anyway... Is there something I did wrong or there actually a bug ?

    Thanks a lot.
    Jimmy

    Thanks for the answers. This feature will definitly change my life (and the looking of our game) when it will be done ^^

    • Изменено

    Hi everyone,

    Do you know if there's a way to use an image wich is already an animation as an attachment ? I explain myself : I have a fantasy character inside wich there are bubbles (like a blob but with arms and legs). I'd like to animate the texture of the "inside" (with the bubbles) separately to have it animated independently of the animation of the character himself. So I can make the character move, run, jump, attack independently of his "inside" texture wich is himself animated.

    So I wonder if there's a way to import an animated texture as an attachment ?

    Thank you very much.
    JJ

    I'm sorry but I think mesh animation is actually supported by Unity.
    However in order to do that, you have to uncheck "Strip whitespace X" and "Strip whitespace Y" in the texture packer settings.
    More infos in this official video : http://youtu.be/-V84OIvZdQc?t=1m33s

    Hope it will help you. Nice sprite by the way 😉