lrojas94

  • 30 déc. 2023
  • Inscrit 16 nov. 2013
  • Well, so, Spine is a really cool piece of software and even though I'm a student and it was hard to afford even basic Spine (Here in my country -Dominican Republic- 60$ bucks are not easy to get.. Specially if you're a student.), it was awesome working with it. I have a small Blog where I put my works and stuff, and you can check it here:

    http://jlrcdevteam.blogspot.com/

    If you're only interested in the spine animations, check this game that used spine at its core for everything (rotating parts, movements, animations, etc...)

    https://www.youtube.com/watch?v=6dU4JkZjfNQ

  • First of all, hi. I've been using spine for a while and so far, I love it. One question I've run into, is detecting collisions betweem certain hitboxes. Lets say I have a weapon, and I wanna detect IF the weapon collides with another skeleton.. Im using bounds with the interceptsskeleton, but that wont report where it collided.. does anyone know how can I achieve this?

  • Thanks but I managed to solve it 🙂 I wasn't using bounding boxes (Totally new to spine and Didn't know they were needed in order to actually use bounds and collision XD... Quite dumb of me 🙂

    Hope anyone else that need to go through this find this post and then gives himself a facepalm just like I did 😛 Thanks a lot Shiu 🙂 Great support

  • Update on those interested (?)...

    I've tested the Example game that offers Esoteric, and it seems that the problem is my Animation/Jason/Atlas... not sure which one. Im using export feature for Json and Atlas too.

    Please, any help would be appreciated :/... Really need it

  • So, I was working with the bounds in XNA (C#) and after using Spine to export both, the json and atlas, I tried to make it work, but somehow, Bounds are just crazy. Im getting height of -4.294967E+09 and maxX, minX and Y also have the same problem. This is how Im calling everything:

    FreezaAnimState.Update(gameTime.ElapsedGameTime.Milliseconds / 1000f);
                FreezaAnimState.Apply(FreezaSkeleton);
                FreezaSkeleton.UpdateWorldTransform();
                FreezaBounds.Update(FreezaSkeleton,true);

    as far as I can tell.. I cant really say what's wrong. The animation is looking great, the problem is with the bounds

  • So, I have an animation using Spine, easy enough... But How do I manage to handle collisions now with XNA? I was thinking on drawing a rectangle over the animation and use the usual intersects method, but that doesn't seem like the best way... So I'd like to listen to some opinions if that's ok.

    Thanks in advance