naming updates, hiding unused ui eleemnts in animation

This commit is contained in:
betalars 2023-07-11 10:58:51 +02:00
parent d81168fdbf
commit ae3d2f6686
1 changed files with 31 additions and 3 deletions

View File

@ -115,7 +115,7 @@ var spot:float = randf()
var base_energy = light_energy var base_energy = light_energy
@export var lit: bool = false @export var lit: bool = false
@onready var secondary_light: OmniLight3D = $OmniLight3D @onready var secondary_light: OmniLight3D = $desk_secondary
var litnes: float = float(lit) var litnes: float = float(lit)
@ -454,6 +454,18 @@ tracks/10/keys = {
"update": 0, "update": 0,
"values": [Color(1, 1, 1, 1)] "values": [Color(1, 1, 1, 1)]
} }
tracks/11/type = "value"
tracks/11/imported = false
tracks/11/enabled = true
tracks/11/path = NodePath("AudioPlayer/childhood:visible")
tracks/11/interp = 1
tracks/11/loop_wrap = true
tracks/11/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
[sub_resource type="Animation" id="Animation_g5l1m"] [sub_resource type="Animation" id="Animation_g5l1m"]
resource_name = "childhood" resource_name = "childhood"
@ -583,6 +595,18 @@ tracks/9/keys = {
"method": &"_on_childhood_done" "method": &"_on_childhood_done"
}] }]
} }
tracks/10/type = "value"
tracks/10/imported = false
tracks/10/enabled = true
tracks/10/path = NodePath("AudioPlayer/childhood:visible")
tracks/10/interp = 1
tracks/10/loop_wrap = true
tracks/10/keys = {
"times": PackedFloat32Array(0, 93.1),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [true, false]
}
[sub_resource type="Animation" id="Animation_as75l"] [sub_resource type="Animation" id="Animation_as75l"]
resource_name = "childhood_intro" resource_name = "childhood_intro"
@ -979,6 +1003,7 @@ layout_mode = 3
anchors_preset = 0 anchors_preset = 0
offset_right = 40.0 offset_right = 40.0
offset_bottom = 40.0 offset_bottom = 40.0
mouse_filter = 1
[node name="picker" parent="logic/UI" instance=ExtResource("19_a4n1o")] [node name="picker" parent="logic/UI" instance=ExtResource("19_a4n1o")]
visible = false visible = false
@ -1018,7 +1043,7 @@ spot_angle = 58.1539
spot_angle_attenuation = 0.812252 spot_angle_attenuation = 0.812252
script = SubResource("GDScript_35dmj") script = SubResource("GDScript_35dmj")
[node name="desk-secondary" type="OmniLight3D" parent="visuals/lights/desk_light"] [node name="desk_secondary" type="OmniLight3D" parent="visuals/lights/desk_light"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 2.98023e-08, 1, 0.0352738, 0.0654936, -0.292101) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 2.98023e-08, 1, 0.0352738, 0.0654936, -0.292101)
light_color = Color(0.952941, 0.662745, 0.54902, 1) light_color = Color(0.952941, 0.662745, 0.54902, 1)
light_energy = 0.5 light_energy = 0.5
@ -1030,7 +1055,7 @@ shadow_normal_bias = 6.753
shadow_blur = 0.5 shadow_blur = 0.5
omni_attenuation = 1.51572 omni_attenuation = 1.51572
[node name="shade-light" type="OmniLight3D" parent="visuals/lights/desk_light"] [node name="shade_light" type="OmniLight3D" parent="visuals/lights/desk_light"]
light_color = Color(0.94902, 0.737255, 0.627451, 1) light_color = Color(0.94902, 0.737255, 0.627451, 1)
light_energy = 0.5 light_energy = 0.5
omni_range = 0.147682 omni_range = 0.147682
@ -1163,6 +1188,7 @@ stream = ExtResource("9_i8mqk")
bus = &"music" bus = &"music"
[node name="childhood" type="CenterContainer" parent="AudioPlayer"] [node name="childhood" type="CenterContainer" parent="AudioPlayer"]
visible = false
modulate = Color(1, 1, 1, 0) modulate = Color(1, 1, 1, 0)
self_modulate = Color(1, 1, 1, 0.923078) self_modulate = Color(1, 1, 1, 0.923078)
anchors_preset = 15 anchors_preset = 15
@ -1174,6 +1200,7 @@ grow_vertical = 2
[node name="PanelContainer" type="PanelContainer" parent="AudioPlayer/childhood"] [node name="PanelContainer" type="PanelContainer" parent="AudioPlayer/childhood"]
layout_mode = 2 layout_mode = 2
mouse_filter = 1
[node name="StartFrame" type="TextureRect" parent="AudioPlayer/childhood/PanelContainer"] [node name="StartFrame" type="TextureRect" parent="AudioPlayer/childhood/PanelContainer"]
custom_minimum_size = Vector2(0, 900) custom_minimum_size = Vector2(0, 900)
@ -1191,6 +1218,7 @@ offset_top = -112.0
offset_right = 1039.0 offset_right = 1039.0
offset_bottom = 697.0 offset_bottom = 697.0
rotation = 0.459022 rotation = 0.459022
mouse_filter = 1
[node name="VBoxContainer" type="VBoxContainer" parent="AudioPlayer/childhood/PanelContainer"] [node name="VBoxContainer" type="VBoxContainer" parent="AudioPlayer/childhood/PanelContainer"]
layout_mode = 2 layout_mode = 2