Fixing Json and introduction to Unity cinematics


Introduction

In class last week, thanks to another student’s help, I was able to resolve the issues with Json I had last week. The students in charge of combat will be able to adjust the stats to what they need using that script. Eager to switch tasks, I started working with Unity’s cinematic capabilities. I found a video from Brackey’s on YouTube to help me with the basics. Using his video as the occasional reference, I was able to create a few simple movement animations using the prefabs provided in core. Unity timeline’s use keyframes recorded by transforming an object and setting how long it will take for the object to reach that point. I then set up a few cameras that were initially static, but I added some movement using the same method of moving prefabs. I then needed to use timeline to disable control of the player until the cinematic ended. Having gotten this working sooner than expected, I began to play around with adding audio.

Goals

  1.  Fix null issue in Json reader script
  2. Get acquainted with Unity timeline (Cinematics)

a)               Cameras

b)               Animation

c)               Transition to gameplay

Personnel

  • Primary – Jed May
  • Secondary – Jacob Pipers

Technologies, tools, and resources used

Tasks undertaken

  1. Fixed Json by implementing an Array system to correctly apply values (1 hour)
  2. Copied scene from Core, while adding some additional scenery from provided prefabs and assets (45 minutes)
  3. Created simple rotate script for windmill (5 mins)
  4. Created multiple cameras that switch in order (45 minutes)
  5. Created simple movement animations using keyframes (30 mins)
  6. Created a simple player movement script to demonstrate control before (none) and after cinematic (10 mins)
  7. Implemented sounds within the cinematic (20 mins)

What we found out

I was initially concerned using Unity timeline, as I had used the equivalent in Unreal 4 to little success a few years back. However, I found using timeline’s fairly easy. Whether it’s because Unity’s system is more accessible, or I’m less of an idiot now I’m unsure.

Open issues/ risks

N/A

Recommendations

Creating the cinematic we want for our game should be able to commence next week if the level has been built. Alternatively, expanding upon this system by adding dialogue and trigger volumes for additional cinematics should be further explored.

Leave a comment

Log in with itch.io to leave a comment.