T
TaylorBramble
Guest
Hi all,
I don't usually want to waste people's time with my questions as I figure that's part of the learning process, but I had to join up here because I'm stuck. So hello all, first post!
I recently got Spine and have gotten animations and everything working great in game maker (I figured I would start step by step with basic import to a running animation to equipping a weapon, etc).
I have come across a problem that my searching through the forums doesn't seem to solve:
---------
I want to have my character switch between two weapons when you press a button, right now labeled BlueSword and YellowSword.
I use the 'if (skeleton_attachment_get(RightWeapon) != BlueSword) then set to blue sword, and when running the game, I see my character equip the sword.
However every time an animation ends, it reverts to the old attachment, which is just RightHand or nothing visible, I've tried both ways with similar results.
Does anyone know what I'm doing wrong? Is it not possible to update an animation in game like I'm doing, and game maker thinks I only want the attachment displayed til the animation loops?
Any help would be great, I've been plowing through spine tutorials like crazy and maybe my brains just burnt out lol.
I don't usually want to waste people's time with my questions as I figure that's part of the learning process, but I had to join up here because I'm stuck. So hello all, first post!
I recently got Spine and have gotten animations and everything working great in game maker (I figured I would start step by step with basic import to a running animation to equipping a weapon, etc).
I have come across a problem that my searching through the forums doesn't seem to solve:
---------
I want to have my character switch between two weapons when you press a button, right now labeled BlueSword and YellowSword.
I use the 'if (skeleton_attachment_get(RightWeapon) != BlueSword) then set to blue sword, and when running the game, I see my character equip the sword.
However every time an animation ends, it reverts to the old attachment, which is just RightHand or nothing visible, I've tried both ways with similar results.
Does anyone know what I'm doing wrong? Is it not possible to update an animation in game like I'm doing, and game maker thinks I only want the attachment displayed til the animation loops?
Any help would be great, I've been plowing through spine tutorials like crazy and maybe my brains just burnt out lol.