Spine plugin update

10 favourites
From the Asset Store
Fantasy Game includes more than 600 sound effects inspired by hit computer games like World of Warcraft and Diablo.
  • does anyone know how i can access the spine object's skeletondata? i'd like to be able to loop through all the available skins and animations through index, so i can then access its other properties like skin name, etc.

  • How would you process the data? Use events or JS?

  • See the latest release for initial 4.2 runtime and physics support. If you see an issue, please share your 4.2 physics project with information about expected behavior. You can post link to project or send me a DM at Discord (I an in Construct community server.)

  • How would you process the data? Use events or JS?

    i'd like to be able to use events

  • Can't believe 4.2 is already supported. thank you for your efforts

  • reimuxx Please try it out and let me know if it works for you and if there are C3 ACEs required for 4.2 feature support.

    Also if you are using C3 Spine in a paid/commercial project, please consider supporting the C3 Spine dev effort by donating on the git page.

    github.com/gritsenko/c3_spine_plugin

  • MikalMy project will still take some time to complete. After it is completed, I am very willing to donate to you. Thank you again.

    I'm still using spine 4.1 because the plugin didn't support 4.2 before, I'll give it a try now

  • > How would you process the data? Use events or JS?

    i'd like to be able to use events

    Ok, I can look at returning a JSON string of the data that you can parse with a C3 JSON object, which you can use events to examine.

    Also FYI Animation Names is already available as an expression in the current version.

  • Mikal thanks. i was able to access the skeleton json and just manually parse it.

    if you or anyone else could help:

    1. i'm playing around with the mix and match sample spine project. can we dynamically create a spine object? i tried but it seems the skin isn't changing

    2. how do i resize a spine object (skin) so that the whole thing is within the bounding box? set size allows me to change the size, but it doesn't guarantee the whole skin is displayed and not cropped out

  • For resizing, use the bounding box properties and offset properties (see more information about it on the git website).

    Not sure what your issue is with creating a spine project, if you want to share the project with purpose/comments, I can take a look.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Mikal

    not sure how to attach a project file, but attached are a couple of screenshots.

    basically, i'd like to be able to dynamically create a new spine object during runtime each with a different "skin" (example: backpack, bag, scarf, etc.)

    in the first image, i dragged a spine object in the editor and set the default skin to "accessories/backpack".

    in the second image, i create an object then create and set a custom skin "accessories/scarf", but somehow the new spine object created still has the original skin i set in the layout editor which is the backpack. i've also tried directly doing "set skin accessories/scarf" instead of creating a custom skin, got the same result.

  • Please just post the test project to sendgb.com and put a link here.

  • thank you, here's the link: sendgb.com/sJzyiRp7vYN

  • zmpq Don't forget - to do Spine operations on a Spine object, you have to wait until it is loaded:

  • oh wow thank you for this, finally got it working

    i still haven't completely figured out is fixing the cropped image if the initial skin for a spine object is smaller than the skin set for a new dynamically created spine object

    kindly check if you don't mind: sendgb.com/6qcV2gmlYMK

    thank you

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)