generated from krampus/template-godot4
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://ccj5ohaw85uwt"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bve6iya13lhah" path="res://src/props/monitor/monitor.tscn" id="1_jcssa"]
|
|
|
|
[sub_resource type="Animation" id="Animation_f6xlw"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("MeshInstance3D:mesh:surface_0/material:emission_energy_multiplier")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [1.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_71u53"]
|
|
resource_name = "flicker"
|
|
length = 0.01
|
|
loop_mode = 1
|
|
step = 0.005
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("MeshInstance3D:mesh:surface_0/material:emission_energy_multiplier")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.005),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [1.6, 1.8]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_wucr7"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_f6xlw"),
|
|
&"flicker": SubResource("Animation_71u53")
|
|
}
|
|
|
|
[node name="MonitorOn" instance=ExtResource("1_jcssa")]
|
|
|
|
[node name="FlickerAnimation" type="AnimationPlayer" parent="." index="1"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_wucr7")
|
|
}
|
|
autoplay = "flicker"
|