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
- Fix null issue in Json reader script
- 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
- https://stackoverflow.com/questions/36239705/serialize-and-deserialize-json-and-json-array-in-unity
- https://www.youtube.com/watch?v=G_uBFM3YUF4
Tasks undertaken
- Fixed Json by implementing an Array system to correctly apply values (1 hour)
- Copied scene from Core, while adding some additional scenery from provided prefabs and assets (45 minutes)
- Created simple rotate script for windmill (5 mins)
- Created multiple cameras that switch in order (45 minutes)
- Created simple movement animations using keyframes (30 mins)
- Created a simple player movement script to demonstrate control before (none) and after cinematic (10 mins)
- 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.
SGD300 Dungeon Siege project
Status | Prototype |
Category | Assets |
Author | RevampedCobra73 |
Genre | Action, Adventure |
More posts
- Recreating Dungeon Siege opening cutsceneSep 25, 2019
- Polishing Unity cinematicsSep 19, 2019
- UI elements in Unity cinematicsSep 11, 2019
- JsonUtilityAug 28, 2019
- LitJSONAug 21, 2019
- Unity and JSON 2Aug 14, 2019
- Unity and JSONAug 07, 2019
Leave a comment
Log in with itch.io to leave a comment.