Spine Skeleton Engine Extension v0.0.5

Guzzz

  • Posts: 556
UPDATE 0.0.3
- Added 5 new blocks (Clear track with nummer, Clear All tracks, Set Skin, Get Skin, Set Attachment on Slot.)

robinschaafsma, I have some problems with "Set attachment on slot". I can't make it work! I tried to make a separate slot with just one attachment and one slot with many attachment in Spine editor, but I can't change an attachment from Stencyl :(
Am I missing something?
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

twotimingpete

  • *
  • Posts: 1667
has anyone tested this in standalone to determine how it performs?

robinschaafsma

  • *
  • Posts: 714
robinschaafsma, I have some problems with "Set attachment on slot". I can't make it work! I tried to make a separate slot with just one attachment and one slot with many attachment in Spine editor, but I can't change an attachment from Stencyl :(
Am I missing something?

Is it possible you share the json file of your character...

I have tested with goblins characters and it works..

Guzzz

  • Posts: 556
robinschaafsma, I've just sent you the file.
Thanks!
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

Guzzz

  • Posts: 556
As I can see right now Goblin has a Skin Placeholders for every attachment which is different from my layout. It means that some skin is always on in Goblin file. Do I need to have a skin on in order to change an attachment?
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

robinschaafsma

  • *
  • Posts: 714
As I can see right now Goblin has a Skin Placeholders for every attachment which is different from my layout. It means that some skin is always on in Goblin file. Do I need to have a skin on in order to change an attachment?

I send you a mail back.. it works on the goblins and the only different is the extra skins.
You can try it on you character..

LIBERADO

  • *
  • Posts: 2720
has anyone tested this in standalone to determine how it performs?
It performs well if you don't use too many images in your skeletal animation.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

squeeb

  • Posts: 1617
has anyone tested this in standalone to determine how it performs?
It performs well if you don't use too many images in your skeletal animation.
also the spineboy example game has a ton of layers in it. i think this makes it lag . after removing the layers and making my own.. ran perfect

Guzzz

  • Posts: 556
Thanks for the answer. I found that there is no key for an attachment in the timeline in Goblin file. Once I removed my key I could set an attachment in my Spine file from Stencyl. The problem solved ;)

P.S. What about Bounding Box in Spine and use it as a collision in Stencyl? Right now I am setting collisions in Stencyl, which is really painful with moving animation.
P.S.S. My Spine animation works great so far. I haven't noticed any lagging on my device. In Flash however it works awful. Quite often it doesn't play the full animation or doesn't mix transition between animations, but I guess it's a "flash thing" ;)
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

twotimingpete

  • *
  • Posts: 1667
has anyone tested this in standalone to determine how it performs?
It performs well if you don't use too many images in your skeletal animation.

I have a game that already has a lot going on and I'd be likely to make fairly complicated models, so it sounds iffy. I think it's worth doing a test at some point though

UnrealCanine

  • Posts: 244
has anyone tested this in standalone to determine how it performs?
It performs well if you don't use too many images in your skeletal animation.

Is 13 for one character too much?

LIBERADO

  • *
  • Posts: 2720
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

c0rupt3d

  • Posts: 53
This is great! Any chance we could be able to set position for other bones beside root?

robinschaafsma

  • *
  • Posts: 714
This is great! Any chance we could be able to set position for other bones beside root?
Maybe in the future..

gkhanni

  • Posts: 252
Thank you Robin. I love Spine and that's great to see this extension in Stencyl.