• Runtimes
  • Animations sequence does not seem to work in Spine web player

@Erika @Nate
Hey lady and gent
Firstly thank you for your help!

  1. I would like to query if the latest Spine Player runtime works with animation Sequences (Not the traditional way though). I am testing locally in VS Code and seem to not able to see the sequence animation

  1. I can see the attachments after resetting the path to the region attachment in the JSON but not able to see the animation playing. Am I missing something?
  1. Is there prehaps a function I should set in the HTML script tag if so what would it be?
    Thank you.

Related Discussions
...

Hello! Sequence should work in the latest Spine web player without any special setup. First check the animations look as you expect in the Skeleton Viewer:
http://esotericsoftware.com/spine-skeleton-viewer

Skeleton Viewer uses the reference runtime, spine-libgdx. If it works there but not in spine-player, then there may be a problem in spine-ts/spine-player. If it doesn't work in Skeleton Viewer, then the problem is elsewhere.

@Nate Thank you so much for the speedy response. I will try this out and see if this works. Thank you!

@Nate
Ok I have checked whether or not this works in the Skeleton Viewer as per link supplied thank you. It does play the sequence no problem, but again the sequence does not load with the Github source files. I had also noticed that the GitHub source files script to the player does not exist unless I am missing some thing?
So I had taken the source script from the [(https://esotericsoftware.com/spine-player)] this is the unpkg script for both the player and the CSS link this does work but, the sequence animations do not. Please point me in the correct direction please...lol Thank you.

What doesn't exist? Please provide the actual URL or other information that you are using.

Note you need to use the Spine player from the Spine Runtimes major.minor version that matches your Spine editor. Eg, if you export with the 4.1 editor, you need to use a 4.1 runtime.

    Nate
    Thank you for your reply.
    What I mean is that when downloading the runtime library and and going to the -> Spine-ts -> Spine player -> example and opening the example.html the script in the head tag
    <script src="../dist/iife/spine-player.js"></script> This does not exist I have to create it.
    How would I make sure that I am using the correct version of Spine?

    Of course, happy to help. 🙂

    In this section:
    https://esotericsoftware.com/spine-player#Adding-the-JavaScript-%26amp%3B-CSS-files

    If you don't want to use UNPKG then you can host the files yourself by downloading them from UNPKG or by building them from the sources provided on our GitHub repository.

    You can follow the instructions at that link to build it yourself, but it's easiest to download from unpkg (or use a URL to unpkg). For example, the latest 4.1 runtime is:
    https://unpkg.com/@esotericsoftware/spine-player@4.1.*/dist/iife/spine-player.min.js
    https://unpkg.com/@esotericsoftware/spine-player@4.1.*/dist/spine-player.min.css
    You can download those and serve them yourself.

      Nate
      Yes I figured this out in the end.
      Although what I am unsure of when exporting with all the default setting the path for the sequence does change in the JSON....weird?
      Either way thank you so much for you help. I now understand what is meant to keep the version aligned with the runtime. 👍👍