Cinematics and UI overhaul

This commit is contained in:
2025-11-07 16:47:10 +01:00
parent dfa42b2296
commit de2966fb1e
14 changed files with 1615 additions and 232 deletions

View File

@@ -14,6 +14,7 @@ using UI.Core;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.Playables;
using Svg;
namespace Minigames.DivingForPictures
{
@@ -627,8 +628,9 @@ namespace Minigames.DivingForPictures
{
//Instead of surfacingTimeline, play the outro cinematic
deathAudioPlayer.Stop();
CinematicsManager.Instance.LoadAndPlayCinematic("SurfacingCinematic");
CinematicsManager.Instance.ShowCinematicBackground(true);
CinematicsManager.Instance.LoadAndPlayCinematic("SurfacingCinematic",true);
CinematicsManager.Instance.ChangeCinematicBackgroundColour(new Color(0.5058824f, 0.7803922f, 0.8862746f, 1f));
//PlayerHudManager.Instance.ResizeCinematicPlayer();
//surfacingTimeline.Play();
//Logging.Debug("[DivingGameManager] Last tile left the screen, playing timeline");