A few issues with Spine

Guzzz

  • *
  • Posts: 447
First, I want to remind about an issue I mentioned a long time ago, but it has been left unresolved and unnoticed.
Quote
Apparently block "code:null" doesn't work anymore to remove an attachment. Do we have any solution for this?
Second, I recently stumbled across the problem when the same spine file looks differently when I test the game via Flash and on a device. On Flash it's positioned approximately 50px higher than on a device. Is there any reason for this?  I mean why is it happening? Where should I look?

p.s. Do we have anyone who can work on Spine extension? I mean its good, but it definitely could be improved! I can't believe that I am the only one who uses this extension and no one cares about it...
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

Guzzz

  • *
  • Posts: 447
I will leave a few leads here about the positioning of the Spine files.
I have two actors that use Spine files in one scene. First one is the player and other one is the enemy. I've recently added a new animation for the player and now I experiencing this issue when it's been positioned differently on Flash and on a device. The enemy is fine now. When I test the game on the device I can see that when the scene is loaded the player stays as it stays when I test it via Flash, but just in a few milliseconds it moves down for about 50px. It happens so fast, so it's almost unnoticeable. So I think it happens when the code of attaching the Spine file to the actor is executed, its just happens somehow differently than on Flash. Both enemy and players Spine files almost identical in terms of animation etc. The only difference is I haven't updated enemy's Spine file and it might be in older version of Spine, because Spine is constantly updating itself.
 
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

Guzzz

  • *
  • Posts: 447
I figured out what it was with strange positioning. I missed the collision. So this problem is solved. The question about the Spine extension however is still open.
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

Guzzz

  • *
  • Posts: 447
I've found a new problem with Spine. It turns out that Spine animation is shaky when I test on bigger iPhones like iPhone 6 or 7. I posted about it on Esoteric forum, but maybe someone knows already here whats the problem.  Here is the description:
http://esotericsoftware.com/forum/Spine-animation-is-shaky-on-big-iPhones-10715?sid=ff8aef0c99b9f241c868d0b5d08e0e7d
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

Guzzz

  • *
  • Posts: 447
So, I've got some response from Esoteric Software.
Quote
That indeed looks like a bug. However, we are not maintaining a Stencyl runtime. Could you point me to the runtime you are using? Most likely the authors of that runtime simply need to update to the latest spine-as3 runtime to fix this.
Could someone explain me what it means and can I do with this?  Should I tell them its Hex or what?
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

merrak

  • *
  • Posts: 2478
Have you seen this?

https://github.com/jeremyfa/spine-hx

I haven't used Spine with Stencyl yet, but I do have a Spine license and would like to get into it at some point. Seems like the sort of thing that can be integrated into an extension.

Guzzz

  • *
  • Posts: 447
There is an extension for Spine
http://community.stencyl.com/index.php?topic=50481.0
The problem that the author seems to be not very interested to update it or fix some issues since 2017-02-19 . So if someone ;) could do another, better extension it would be great!
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

Guzzz

  • *
  • Posts: 447
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

merrak

  • *
  • Posts: 2478
Is the extension open source? I saw where you reported the error with "code:null". That doesn't sound like it should be hard to fix, if the error is of the sort I'm thinking.

Guzzz

  • *
  • Posts: 447
The problem with "code:null" isn't that big. I found workaround it by attaching empty asset. The biggest problem is it needs to be updated to the latest Hex. As it was mentioned on Esoteric forum the bug with shacking assets is the missing update. How open it is, I don't know but it's on github. https://github.com/bendmorris/spinehaxe
Or maybe just turn this https://github.com/EsotericSoftware/spine-runtimes/tree/3.7-beta/spine-cpp into extension?
Here are the other runtimes http://esotericsoftware.com/spine-runtimes
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

merrak

  • *
  • Posts: 2478
Something that is Haxe based will probably end up being a lot easier to work with than CPP.

While I have Spine, my main interest is generating sprite sheets--not using a runtime. At some point I'd like to redo my "Legend of Fordham Forest"--a 2D side-view game--and maybe the Spine runtime would be more relevant then. If there isn't a good Spine extension by that point, I'll write one. I'd be happy to share whatever extension I end up writing in that case. Unfortunately, this is a large undertaking and not conducive to me getting my current projects done.

Guzzz

  • *
  • Posts: 447
Thanks for response, merrak!
I'm looking for a help from anyone in solving the issue with Spine. I need to get Spine json working properly when the game is scaled up. Any help, any work around... anything!
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110

Guzzz

  • *
  • Posts: 447
I've just found that after I'd installed Stencyl build 10001 the issue with shaky Spine animation after scaling for big screens has been solved! I don't know what you've done with Stencyl and if this will stay in versions that come and will come after 10001, but please keep this fix =)
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my hand-painted dungeon crawler on iOs. Made in Stencyl. https://itunes.apple.com/app/id1153392110