Polishing Unity cinematics


Introduction

This past week involved learning the last few things about Unity cinematics that would be used in our game. Following on from last week, I created a working trigger volume that would play an assigned cutscene on entry. The Unity API was a helpful resource here. I also created a script that would return players to the main menu upon the completion of the cutscene, using a modified script from another tutorial, which originally utilised it for a game over state. Next up was fixing text, by animating the text to scroll automatically within a panel. This was achieved using Unity animator and a masking component. Finally, I animated our player in the second cutscene to play the walking animation as it approached its target, before attacking it. This didn’t end up being too difficult either, as all the animations for a given object can be stored on a single track. At one point this week Unity asked me to reinitialise the project, after doing so the game began running slowly and incorrectly playing cinematics; had me thinking I had to pull the project again just for an easy fix. Turned out pulling the last push fixed it.

Goals

  1. Create timeline that would play upon entering a trigger volume
  2. Implement text into a cutscene that would be capable of scrolling automatically
  3. Play animations during cinematic

Personnel

  • Primary – Jed May

Technologies, tools, and resources used

Tasks undertaken

  1. Fixed up trigger volume that plays second cinematic (45 mins)
  2. Created script that loads the main menu once the second cinematic plays (30 mins)
  3. Implemented scrolling text using Unity UI elements (1 hour)
  4. Figured out and implemented simple animations onto our cutscene character (30 mins)
  5. Mild bitbucket panic (30 mins)

What we found out

Implementing scrolling text in Unity didn’t require any code like I initially thought it would, so that was neat when it didn’t :).

Open issues/ risks

N/A

Recommendations

Now that I have all the knowledge, I need to create Unity cinematics, all I need now is to know what level I will be making it in. I will then be creating a polished intro and ending cutscene to be used in our final project (possibly with a few extra bells and whistles like screen fading and different fonts).

Leave a comment

Log in with itch.io to leave a comment.