The beginning of the 30 hour cutscene game, Unity Timeline & Cinemachine

Cutscenes, love em, hate em, they are an essential part of any video game that has a story (most of the time…). Now we don’t want TOO MANY like a certain game we all know but my current project definitely needs a few.

Here comes in some nifty packages for Unity, namely one called Cinemachine, which is a addon to Unity, and also Timeline which is native to it.

Cinemachine is a addon that allows you to create Virtual Cameras that the Main Camera will essentially snap to. With this you can easy move the main view around to predetermined spots without the use of any code directly on the Main Camera itself!

The white camera, which is the main camera, is currently on the right virtual camera.

Now that I got my camera positions set up, the next thing we look at is Timeline. Timeline I actually did end up using in the previous 2D shooter for the sake of animations for sprites but in this case we will be using it to animate our cameras.

It surprised me how EASY it was to actually animate our cameras. It was as simple as just hitting the record button on the animator in timeline for the camera, and just moving the camera around in the inspector to create actual key frame changes. Timeline would AUTOMATICALLY fill in the movement between the two points! Even things such as a black screen fading is just making keyframes of alpha@100 to alpha@0.

What we are left with is this basic cutscene for my Player Character stealing a key card and it is fabulous.

Cinemachine and Timeline are powerful tools and after just a small amount of time using them, I am definitely getting some ideas for a 30 hour cutscene game.

I’m kidding, or am I?

See you on the next post!