Patch Animation Pipeline (with Unity)

Posted on June 26, 2014

Ahoy there, long time no see! I’m Ben the Programmer, back for another tech fix.

Here’s a quick timelapse to show off our brand new animation pipeline.
Note that this animation has been made by Paul Clarissou, our almighty animator intern.

What we have here basically, is a classic puppet rig: a skeleton with various sprites attached to the bones, except these sprites can be attached to multiple bones and be deformed accordingly.
The concept is very similar to the animation tool that was used on Rayman Origins and Rayman Legends (and later Child of Light, I suppose, except they went 3D for their main character).

This type of sprite is called a patch (think of it like this: if a Bezier curve is a line, a Bezier patch is a surface).
Patches are trivial to setup compared to 3D rig with vertex weights etc, and (most of the time) get twisted in a pleasing, organic way, which is perfect for the look we aim for in Seasons After Fall.

What’s also nice about 2D rigs is that, when you want a different pose, or when a patch get twisted too much, it’s super easy to swap it for another one more appropriate for the pose. All it takes is a talented artist to draw it (which we have), and it’s much faster to do than 3D modelling, painting, etc… sprites are cheap!

Lastly, it’s possible that we might need flip-book animations on some patches, like sub-animations for only a certain body part, like they used for example on Broken Age (mostly for the characters faces). While our editor doesn’t really support it elegantly right now, the system makes it totally feasible.

For this tool, we tried to build as much as possible upon Unity‘s existing animation features: the animation timeline with its dope sheet and curve views, and Mecanim controllers for blending (not shown here, but we already use it for the main character).
While we evaluated some third-party solutions, some in-Unity but based on vertex-skinning (basically 3D rigs flattened to 2D: yuck!), others using external tools with importers etc.
I felt it was important to have the animation in-engine to have true WYSIWYG, prevent artifacts like “oh well it looks fine in the tool but in the engine the characters’ sitting on his head and his elbows are broken” (always fun to debug, those!), be able to apply real in-game materials and effects, etc.

Also, having custom animation format would mean not being able to use Unity’s blending, and I wanted to give Mecanim a chance. So far I’m not sure I’m a 100% in love with Mecanim, we’ll see as we use it more, but if it comes to that we can always fallback to legacy. That’s a story for another technical post I suppose!

Oh and we also reused our Photoshop pipeline to make it a breeze to import complete PSD layouts and seamlessly convert layers to sprites, then patches, keeping their relative position and draw order.

See you in the comments or on Twitter @benblo42 if you have questions or whatever!

Seasons after Fall, stranger to summer

Posted on June 23, 2014

Welcome to summer!
And welcome to our sixth month of development on Seasons after Fall.

Let’s celebrate with a brand new concept art!
As you can see, our fox will not be completely alone during its adventure.
But it’s hard to tell if this strange bear will be an ally or an enemy. Maybe both.
I guess you’ll need to approach it if you really want to find out.

If you watch the new timelapse video and listen closely, you will hear, for the very first time, the music of Seasons after Fall.
Our composer, Yann van der Cruyssen, who already wrote the soundtracks of Blocks That Matter and Tetrobot and Co., chose to work with a string quartet this time. A real quartet, with real instruments and real musicians. For real!
That’s quite unusual for us, but we can see how this string quartet (and his talented members) will help us bring life to our game.

Seasons after Fall - concept art

Download this wallpaper for your computer and phone

Seasons after Fall, at the dawn of spring

Posted on March 20, 2014

Already three months passed since we started working again on Seasons after Fall.

Here’s what we’ve been working on this winter:
– Guillaume started working on a light system and shaders.
– Benoit created tools for animation and level building.
– Géraud made researches on art direction, animation, environment and characters.
– Yann wrote new scores and dug the idea of soundscapes.
– William filled useless papers, practiced movie editing again and talked to a lot of people.
This is just the beginning.

Spring, the season in which ideas flourish and take shape, is now among us.

Seasons after Fall - concept art

Download this wallpaper for your computer and phone

A Bundle of Love for Brandon

Posted on March 13, 2014

We’d like to share a very special announcement from Humble Bundle with you.

Humble Bundle has teamed with independent developers to put together a bundle like no other. To help support this cause, pay at least $25 to receive a ton of games and all proceeds will go directly to the Brandon Boyer Cancer Treatment Relief fund. In addition to Brandon’s medical bills for cancer treatment, the excess funds from this promotion will be donated to a select cancer research organization.

For more information regarding the bundle content, please visit the Humble Bundle blog.

Newer Posts
Older Posts