mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-12 06:36:01 +00:00
Alarm box animation texture
This commit is contained in:
parent
397742c927
commit
54eefc2961
8 changed files with 74 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://cpx5yjfg3a2hw"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://cpx5yjfg3a2hw"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dxhf1twoxf4j0" path="res://Scripts/Interactables/AlarmBox3D.cs" id="1_4ysgp"]
|
||||
[ext_resource type="AudioStream" uid="uid://bjvklk7qmlivd" path="res://SFX/288963__littlerobotsoundfactory__click_electronic_14.wav" id="3_5t8l3"]
|
||||
|
|
@ -7,6 +7,44 @@
|
|||
[sub_resource type="SphereShape3D" id="SphereShape3D_itd0i"]
|
||||
radius = 0.419927
|
||||
|
||||
[sub_resource type="Animation" id="Animation_1acc0"]
|
||||
resource_name = "Flash"
|
||||
length = 0.4
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("blockbench_export/Node/cuboid2/cuboid:mesh:surface_0/material:uv1_offset")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [Vector3(0, 0, 0), Vector3(0, 0.5, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_4ysgp"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("blockbench_export/Node/cuboid2/cuboid:mesh:surface_0/material:uv1_offset")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector3(0, 0, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_t4kxh"]
|
||||
_data = {
|
||||
&"Flash": SubResource("Animation_1acc0"),
|
||||
&"RESET": SubResource("Animation_4ysgp")
|
||||
}
|
||||
|
||||
[node name="AlarmBox" type="Area3D" groups=["Interactable"]]
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
|
|
@ -22,3 +60,10 @@ stream = ExtResource("3_5t8l3")
|
|||
bus = &"Effects"
|
||||
|
||||
[node name="blockbench_export" parent="." instance=ExtResource("4_4ysgp")]
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_t4kxh")
|
||||
}
|
||||
|
||||
[editable path="blockbench_export"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue