From 575af36b9ec3d3c39ffb027c13c5a9bd0b369f97 Mon Sep 17 00:00:00 2001 From: miepzerino <o.skotnik@gmail.com> Date: Sat, 05 Apr 2025 17:44:41 +0000 Subject: [PATCH] #47 background transition based on y-level --- Assets/Scenes/GameplayScene.unity | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Assets/Scenes/GameplayScene.unity b/Assets/Scenes/GameplayScene.unity index 5b06c17..88982ad 100644 --- a/Assets/Scenes/GameplayScene.unity +++ b/Assets/Scenes/GameplayScene.unity @@ -5316,13 +5316,15 @@ spriteRenderer: {fileID: 2136420134} transitionRenderer: {fileID: 0} backgroundLayers: - - yThreshold: -1 + - yThreshold: -5 backgroundSprite: {fileID: 21300000, guid: 7d5be99b0261348468ab492c35422f1b, type: 3} + transitionDistance: 4 parallaxEffect: 0.439 - yThreshold: -300 backgroundSprite: {fileID: 21300000, guid: 58a6eeb45a0e2674ab35114433129f28, type: 3} + transitionDistance: 5 parallaxEffect: 0.482 - transitionDuration: 1 + playerTransform: {fileID: 254538002} --- !u!114 &18669457987763773 MonoBehaviour: m_ObjectHideFlags: 0 -- Gitblit v1.9.3