How do I…
I have a 2D sprite, that I want to animate with something like a bonerig. I know GD works with spine. I unfortunately don’t have spine. I am checking what are the options. I want the sprite to inclinate an arm for instance.
I am not looking for complex bones, less than 10 points is enough.
Here the draft of the sprite, the final one will have transparency.
What is the expected result
I want to rotate the single bones of the sprite, like this:
I think there are other apps where you can do this. I just use IbisPaint. So basically I draw my character, use the loop function to separate the body parts in different layers. And then just animate by moving the body parts but that’s just a workaround, works for me though.
If you want that bend inside the editor without Spine, split the drawing into separate objects: a torso, an upper arm, and a forearm. In the sprite editor, put each part’s origin on the joint, the shoulder for the upper arm and the elbow for the forearm, so rotation happens around that point. Add the Pin behavior, pin the forearm to the upper arm, and pin the upper arm to the torso. From events, change the upper arm’s angle to raise it, and the forearm’s angle to bend the elbow. That lines up with the two-part pose in your sketch, and you only need a few objects.
Thank you, I will do a custom behavior likely here.
Splitting the sprite into separate limb objects is a good fit for fewer than ten bones. Putting each pivot at the joint makes the arm and leg rotations look natural. A small custom behavior to move the parts together sounds like the cleanest way to keep it organized.