[gd_scene format=3 uid="uid://c8vlgg70s5u3p"] [ext_resource type="Script" uid="uid://dlfhqyy3ya8d4" path="res://Scripts/Interactables/ShootableSwitch3D.cs" id="1_uhypp"] [ext_resource type="Texture2D" uid="uid://d24g1qb40t72l" path="res://Sprites/Button_Small.png" id="2_uok2k"] [ext_resource type="AudioStream" uid="uid://bjvklk7qmlivd" path="res://SFX/288963__littlerobotsoundfactory__click_electronic_14.wav" id="3_pmslt"] [ext_resource type="AudioStream" uid="uid://myr6n2c1u503" path="res://SFX/581602__samsterbirdies__beep-error.mp3" id="4_4smss"] [ext_resource type="PackedScene" uid="uid://w6jg5rx6d5gp" path="res://3D/BlockbenchModels/ControlPad/Control_Pad_Shoot.gltf" id="5_uhypp"] [ext_resource type="Texture2D" uid="uid://b7i8madir447q" path="res://3D/BlockbenchModels/ControlPad/Control_Pad_Shoot_0.png" id="6_pmslt"] [ext_resource type="Script" uid="uid://b46e1ft1scvwt" path="res://Scripts/Interactables/FrameAnimator3D.cs" id="6_uok2k"] [ext_resource type="Script" uid="uid://cklsqt246d571" path="res://Scripts/Interactables/SwitchAnimationManager.cs" id="8_4smss"] [sub_resource type="BoxShape3D" id="BoxShape3D_4smss"] size = Vector3(1, 1, 0.32867432) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4smss"] resource_name = "material_0" transparency = 2 alpha_scissor_threshold = 0.05 alpha_antialiasing_mode = 0 cull_mode = 2 albedo_texture = ExtResource("6_pmslt") texture_filter = 0 texture_repeat = false [sub_resource type="Animation" id="Animation_pmslt"] resource_name = "Flash" length = 0.8 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("FrameAnimator:CurrentFrame") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.4), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [0, 1] } [sub_resource type="Animation" id="Animation_fmo5v"] resource_name = "Flash" length = 0.8 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("FrameAnimator:CurrentFrame") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.4), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [2, 3] } [sub_resource type="Animation" id="Animation_4smss"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("FrameAnimator:CurrentFrame") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [0] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_fmo5v"] _data = { &"Disabled": SubResource("Animation_pmslt"), &"Enabled": SubResource("Animation_fmo5v"), &"RESET": SubResource("Animation_4smss") } [node name="ControlPad" type="Area3D" unique_id=454991887 groups=["Interactable"]] collision_layer = 0 collision_mask = 136 script = ExtResource("1_uhypp") ReactsTo = 1 metadata/_edit_group_ = true [node name="Sprite3D" type="Sprite3D" parent="." unique_id=1668220059] transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, 0) visible = false pixel_size = 0.1 texture_filter = 0 texture = ExtResource("2_uok2k") hframes = 4 [node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1191207257] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.09780884) shape = SubResource("BoxShape3D_4smss") [node name="ActivationSound" type="AudioStreamPlayer3D" parent="." unique_id=1198083209] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.15351868) stream = ExtResource("3_pmslt") bus = &"Effects" [node name="DenySound" type="AudioStreamPlayer3D" parent="." unique_id=924351038] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.15351868) stream = ExtResource("4_4smss") bus = &"Effects" [node name="blockbench_export2" parent="." unique_id=920256639 instance=ExtResource("5_uhypp")] [node name="cylinder" parent="blockbench_export2" index="0"] surface_material_override/0 = SubResource("StandardMaterial3D_4smss") [node name="FrameAnimator" type="Node3D" parent="." unique_id=1796988427 node_paths=PackedStringArray("TargetMesh")] script = ExtResource("6_uok2k") TargetMesh = NodePath("../blockbench_export2/cylinder") [node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=38747516] libraries/ = SubResource("AnimationLibrary_fmo5v") [node name="AnimationManager" type="Node" parent="." unique_id=1990112030 node_paths=PackedStringArray("TargetSwitch", "TargetAnimationPlayer")] script = ExtResource("8_4smss") TargetSwitch = NodePath("..") TargetAnimationPlayer = NodePath("../AnimationPlayer") AnimationEnabled = &"Enabled" AnimationDisabled = &"Disabled" [editable path="blockbench_export2"]