Updated art assets

This commit is contained in:
Pasha Bibko
2026-01-20 12:39:22 +00:00
parent bb0428a209
commit bc1c12d97b
19 changed files with 707 additions and 64 deletions

View File

@@ -16,6 +16,8 @@ namespace InterfaceOff.WorldScene
[field: SerializeField] public int FrameIndex { get; private set; }
[SerializeField] private int[] DeathIndices;
private const int MAX_WINDOWS = 20;
private bool PlayerAlive = true;
private float LerpValue;
@@ -33,7 +35,7 @@ namespace InterfaceOff.WorldScene
/* Iterates the frame index */
FrameIndex = (FrameIndex + 1) % (Frames.Length - 2);
if (DeathIndices.Contains(FrameIndex) && ActiveWindowSpawner.SpawnedWindowCount > 20)
if (DeathIndices.Contains(FrameIndex) && ActiveWindowSpawner.SpawnedWindowCount > MAX_WINDOWS)
{
ActiveWindowSpawner.StartEndSequence();
PlayerAlive = false;

View File

@@ -1,6 +1,5 @@
using UnityEngine;
using UnityEngine.UI;
using System.IO;
namespace InterfaceOff
{