Added UI blur
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://ds5dynfon316"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://ds5dynfon316"]
|
||||
|
||||
[ext_resource type="Script" path="res://Start.gd" id="1_8y1vx"]
|
||||
[ext_resource type="PackedScene" uid="uid://dvharlvkq4m0f" path="res://ui/blur/BlurRect.tscn" id="2_xfrfu"]
|
||||
|
||||
[node name="Start" type="CanvasLayer" node_paths=PackedStringArray("progress_bar", "modulate")]
|
||||
layer = 128
|
||||
@ -8,11 +9,14 @@ script = ExtResource("1_8y1vx")
|
||||
scene_path = "Main.tscn"
|
||||
progress_bar = NodePath("MarginContainer/Progress")
|
||||
modulate = NodePath("CanvasModulate")
|
||||
fade_duration = 0.75
|
||||
fade_duration = 2.0
|
||||
|
||||
[node name="CanvasModulate" type="CanvasModulate" parent="."]
|
||||
|
||||
[node name="Background" type="ColorRect" parent="."]
|
||||
[node name="BlurRect" parent="." instance=ExtResource("2_xfrfu")]
|
||||
color = Color(0.12549, 0.12549, 0.12549, 1)
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
Reference in New Issue
Block a user