• Register

Seasons is a 2D platform game intended to be available on PC / Mac / Linux in 2010. As a wild fox, the player travels across the countryside, through forests and rivers, taking advantage of the changing seasons. Non-violent, poetic and even a little bit ecological, Seasons appeals to the player’s curiosity, his sense of discovery and reflection.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media

WHAT? More than one month since last update?
We can't be serious!

Don't worry, we are not dead (yet). It's been a busy month and you will see this in some future articles. But for now, let's talk about some tech used in Seasons after Fall.

Today we are going to talk about spritesheet animation. But before we proceed, we are going to take a look at some vocabulary.

>> Vocabulary


A vertex is a point in space. Composed with 2 other colleagues, vertices form triangle shape.
Generally, a vertex gets attributes like position (x, y, z), normal to the surface it belongs to (nx, ny, nz), color (r, g, b, a) and texture coordinates (u, v)

Such a lot of infos in such a little space


A quad is a set of 2 triangles forming a parallelepipedic shape.
As you may have guessed, a quad is made of 2 triangles, this means 4 vertices.

Mix 2 triangles together and you'll get a quad


It's an image used to cover triangles and give them more sense than just an unicolored look.

Here is our previous quad using a submarine texture.

Isn't it the best texture you've ever seen? Isn't it?

Texture coordinates (UV)

Texture coordinates (often described as UV) are a vertex property that refers to 2 coordinates (u and v, sic!). The 2 coordinates indicate a place in a texture where the vertex will pick its texture color. The texture is then applied to a triangle formed by 3 vertices thanks to interpolations.

Here is our textured quad with a custom uv mapping allowing it to show a subpart of the entire texture.

UV are useful to texture things like you want

>> Building a spritesheet


Let say we want to animate the dude character from Braid. You can find assets here.

You simply take a talented 2D artist and let him make a sequence of images representing a character doing things.
Here are few images showing various steps of the running dude:

Uno, dos, très

As a 2D animator, the artist draws a given step by superposing it with the previous one, thanks to the use of layers, close to the traditional way of animating things in cartoons with pencil and paper.

Classical drawing board approach

It may remember your animation skills with your flipbook when you were young:

Put it into motion, and it will blow your mind


Once you have all steps you want for your animations, you simply gather all those images in a bigger one: the spritesheet.

Here is the example with the Braid dude:

Some Braid dude gathered in one bigger texture

You can left blank space in this big texture for later use.
Here I spread little images along a grid so the spread is regular.

Regular grid to help your eyes

But you're not forced to use regular offsets, for example, the real spritesheet used by the Braid game do not use regular grid spreading of sprites elements.

The real un-regular Braid dude spritesheet

>> Using a spritesheet

You may wonder why the hell we absolutely want to use sprite sheet. Why not just keep the animation step images separated?

There are many pros:

* Avoid changing textures:
Since there is only one big texture that contains many things, you reduce the need to change texture. Changing texture costs time during rendering. Avoiding texture change helps not wasting time.

* Faster loading:
It's faster to load one big thing than a lot of small things. You will spend less time loading things by using sprite sheet... reducing loading times.

* Allow each sprite to have non power of 2 dimensions:
In computer graphics, you better have to size your textures so their dimensions are all power of 2 (like 64/128/256/512...) to maximize compatibility with the great variety of graphic cards out there.
By using a spritesheet, only this big texture has to be power of 2 to maximize hardware compatibility. All the little textures included in the bigger one can be sized like the artist wants.

>> Animation with spritesheet

To animate a textured quad with a spritesheet, you simply have to operate uv shifts along time.

Very clear, isn't it?

Instead of switching from texture to texture (or paper sheet to paper sheet in a flipbook), we simply move the uv on the big spritesheet texture.

>> Texture atlas/Tilemap

A texture atlas or tilemap is similar to a sprite sheet. Except that we won't necessarilly use a texture atlas to animate things but simply benefit from many sprite sheet advantages like minimizing texture changes and reduce loading process.

Example of a tilemap that can be used to map an entire level

>> Our implementation in Blender

As always, we use and abuse blender curves.
We use 2 curves to handles the 2 offsets along U and V texture coordinates.

Here is some example with the Braid guy:

Blender curves for uv shifting

As you can see, the curves are very special because they take the form of squared signals. The example shows you the timeline pointing a U offset of 4 and a V offset of 1 (well, -1).

We can construct or modify those curves by hand, but we've got a wizard to help the construction too.

>> Use in the game

Seasons after Fall makes a huge use of mesh morph to animate things. But it can cost a lot in term of computation.
So if we want to animate little blades of grass, we will use spritesheet over our classical shapekey animation.

We plan to use this spritesheet stuff to make little animation for tutorial purpose. Our model on this point is the awesome Machinarium. We hope to limit (in best case annihilate) texts use.

>> Results in game

Here is a little ingame example with the use of the Braid dude shown before.
I added a blob spritesheet taken from the super tutorial post on the Retro Affect blog (the guys behind Snapshot) and a beautiful programmer asset that will make you fell epileptic (don't thank me)!

As you can see, there is a lot of Braid dudes in there. We just put a little shifting noise in the timeline for each instance to avoid them to make a disgratious synchronized walk!
Moreover, you have certainly noticed that the textured and animated quad can be rotated and scaled easily.

A trailer for Seasons, and a new title

A trailer for Seasons, and a new title

5 years ago News 4 comments

"Seasons" is dead ! Long live "Seasons after Fall" !

Seasons and visibility testing

Seasons and visibility testing

5 years ago News 3 comments

Tech post about how we perform culling in Seasons.

Seasons : the matter of learning

Seasons : the matter of learning

5 years ago News 7 comments

When players has some difficulties to solve a puzzle, it's probably because developers made mistakes... Today, we briefly talk about the importance of...

The sounds of autumn

The sounds of autumn

5 years ago News 4 comments

Something is still missing in the demo of Seasons, and that something is really important to create a great game experience around seasons' changes. That's...

Seasons Of Change

Seasons Of Change

9 months ago Demo 0 comments

This game is free to download and play, but any and all donations are greatly appreciated. All proceeds will go towards hiring better artists to provide...

Post comment Comments  (0 - 10 of 39)
JackSLO Oct 7 2012 says:

I saw this awhile ago, and just suddenly remembered about it.. so now i found it again.. And i really hope this doesnt die.. if its not dead already..

+1 vote     reply to comment
Dr.Goupyl Feb 10 2012 says:

Wow so much time since the last update... why ?

+1 vote     reply to comment
KameZero Mar 19 2011 says:

This really looks very, very nice. Any chance of this being released on Desura? (Which will hopefully have a Linux version soonish)

+1 vote     reply to comment
Guillaume-SSS Creator
Guillaume-SSS May 28 2011 replied:

Hello there,
For sure Desura could be a great way to distribute... but before distributing the game, we got to finish it the best way we could.

I know we don't give news this last months, and I deeply apology!
Some IndieDB reader drop us a line to know why the page was not active lately.
I'm going to give you some answers soon, I promise!

+2 votes   reply to comment
SlickMcRunFast Dec 3 2010 says:

Looking nice. Please start the OpenGL part soon.

+2 votes     reply to comment
Fib Dec 2 2010 says:

A few technical questions for you developers:

Is this being made with OpenGL?

Is this game going to feature all 2D artwork that is rendered onto textured quads, or will there be some 3D models?

+2 votes     reply to comment
Guillaume-SSS Creator
Guillaume-SSS Dec 3 2010 replied:

Hi Fib

>> Is this being made with OpenGL?
For now we've got an "high level abstraction layer" over the renderer. We are mainly using Direct3D right now for the low level implementation (since we are developing under Windows, it's easier to debug and trace D3D application for my experience).
Then for running under MacOS and Linux System, an OpenGL lo level implementation need to be used.
An abstraction layer is like a "black box" for the engine. We can change the contents of the black box without to change anything in the engine since it will keep using the black box without being aware of what's going on inside.

I don't know if I'm very clear, so let me know if this is incomprehensible :)

>> Is this game going to feature all 2D artwork that is rendered onto textured quads, or will there be some 3D models?
We already tried to insert 3D models in some scenes but the results weren't so convincing.
But it's doable in our engine since we make a fake 2D.
All the elements on screen are planar shapes facing the camera so you cannot see there are thin. The parallax is handled automatically thanks to perspective projection.

The levels environments are quite static for now, but the will include more animated stuff and more parallax plan to bring more depth.
I think that some waterfalls will maybe use a 3D modeling if the water need to go from a parallax layer to another.

I hope this answers your questions. Don't hesitate to tell me if some point are not answered very well!

+1 vote   reply to comment
VulpineComplex Dec 2 2010 says:

You know what? This might be the most adorable thing I've seen all day.

+2 votes     reply to comment
Guillaume-SSS Creator
Guillaume-SSS Dec 3 2010 replied:

You know what? Thank you for your sweat words. That helps a lot!

+1 vote   reply to comment
Dr.Goupyl Nov 15 2010 says:

I'v voted IOTY for that amazing project !

+2 votes     reply to comment
Guillaume-SSS Creator
Guillaume-SSS Dec 1 2010 replied:

Thank you :)
Even if we don't make it to the next rounds (we weren't looking for that): thank you!

And thanks all of you for your sweat and encouraging words :)

+1 vote   reply to comment
Post a comment

You are not logged in, your comment will be anonymous unless you join the community. Or sign in with your social account:

Seasons after Fall
Windows, Mac, Linux
Custom Built
Send Message
Release date
Game watch
Start tracking
Single Player
Embed Buttons
Link to Seasons after Fall by selecting a button and using the embed code provided more...
Seasons after Fall
Last Update
9 months ago
118 members