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!

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Getting Started with Django

ElasTest architecture and components

My Journey as a student of Newton School!

LUBIN ON SOCIAL MEDIA — JANUARY 2021

Turning My Jekyll Blog Into a Progressive Web Application

USACO January 2021

TryHackMe | Archangel Writeup

How OSPF Routing Protocol Implemented using Dijkastra Algorithm behind the scene.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Edward Kim

Edward Kim

More from Medium

Level Design Using Assets from Filebase!

Giving Our Enemies an Avoidable Homing Attack

How to Build and Test your Unity Game

Platformer: Free Falling & Landing