Bone Animation 2.0

New releases and general discussions.

Post » Sat Jun 13, 2009 3:03 pm

I've been working with the Bone Behavior in Construct for awhile now, and while it's awesome, it's also very tough to work with. Since animation is my area of expertise, I thought it might be a good idea to get some thoughts out there for a possible version 2 of the bone animation tool. Some of these could still apply to how the bone behavior works now, others would probably require a complete rewrite. Here is my wishlist for bone animation in Construct 2.0.

1) Bone Root Object
Instead of a behavior, you would create a Bone Root Object which would have no sprites inherently attached to it. It would act like a root node to the actual rig. Editing that bone root object would bring up an editor window where you would build out your hierarchy of bones into a full rig, similar to how it is now but just creating bones with no attached sprites. You can then edit each bones properties like name, angle, size etc. The bones would be invisible during runtime.
Since there are no attached sprites to the bones, you can then link any sprite to any bone dynamically. The sprite would attach by its hotspot and auto align with the bone. You would also have options to change the angle of the sprite if necessary. If I'm creating a worm like creature, I can have one body segment sprite and attach it to each bone in the hierarchy to create the full body. Using only one sprite would save a lot on texture space. Through keyframing (see #2) or events, I can change from a "worm segment front" sprite to a "worm segment side" sprite. Being able to change sprites on a bone in realtime would help greatly with animations where the arms connect to different areas that you have to line up with the sprite.

2) Timeline Based Animation System
Basically your standard animation timeline. You have a timeline based on frames at the bottom of the window. Scrub the timeline to a frame where you want a new keyframe, manipulate a bone or hit a keyframe button, and the keyframe appears on the timeline. The keyframes would be per bone and not apply to the whole hierarchy as it does in Construct 1.0. A nice little play button would look great next to the timeline to preview animations :)
-Things you can keyframe
[list:3o5uhr1y]
-Translation
-Rotation
-Scale
[list:3o5uhr1y]-scaling individual bones would stretch the sprite
-scaling the root bone object would scale the whole rig[/list:u:3o5uhr1y]
-Z depth to control overlapping sprites
-Changing sprite texture (see #1)
[/list:u:3o5uhr1y]

3) Additive Blending and Layering
For Additive Blending, if I have an animation which is just the character shaking, I can play that animation over the top of others and it will blend additively (not take over the base animation, which is what layering would be). For example, if the character is running and then is suddenly on fire, I can trigger the shake animation to play on the character relative to what the run cycle is doing. This was used to create lots of organic movement in Drakes Fortune for ps3.
Layering would take over the animation based on a percentage. For example, I have two animations, a run cycle which has keyframes over the entire body and a cheer animation which only has keyframes on the upper body. Layering the cheer animation over the run cycle at 100% would have the lower body playing the run, with the upper body playing the cheer animation and ignoring the run keyframes.

4) IK
The ability to add simple IK chains to rigs would be a huge help for animating. This wouldn't be realtime IK (although that would be cool too) but more for making animation easier.

5) Misc. Features
- Rotations on a parent object should maintain the angle with the child object. If I have the arm bent in an L shaped position and I rotate the upper arm, the forearm should rotate with the upper arm and retain the L shape. As it works now, in the same scenario the arm will straighten out.
- Ability to get individual bone position, angle, scale, etc through events.

Feel free to post your own thoughts.
B
77
S
49
G
25
Posts: 346
Reputation: 17,409

Post » Sat Jun 13, 2009 5:22 pm

You know that there's IK plugin?
B
11
S
3
G
4
Posts: 622
Reputation: 3,186

Post » Sat Jun 13, 2009 6:11 pm

Yes, but this would be integrated into the bone animation system and not necessarily for realtime use. More as an animation aid like in 3d Studio Max or Maya.
B
77
S
49
G
25
Posts: 346
Reputation: 17,409

Post » Sat Jun 13, 2009 10:18 pm

There will definitely be a much better editor for a subsequent version, more like a timeline with greater functionality per keyframe.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Sat Jun 13, 2009 10:32 pm

When this bone behavior will be fixed? I need to multiply objects. Could you fix this version first please?
B
78
S
23
G
6
Posts: 234
Reputation: 7,662

Post » Sat Jun 13, 2009 10:38 pm

I'm sure it'll be fixed before 1.0. This discussion is for a 2.0 behavior.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Tue Jun 16, 2009 6:25 am

this sound very nice and usable.
Also very much like the way its done in 3D.
Me likes.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 5 guests