[gd_scene load_steps=8 format=3 uid="uid://b47wuj6l7jcer"] [ext_resource type="Script" path="res://scenes/target.gd" id="1_yma8k"] [ext_resource type="AudioStream" uid="uid://cqb1bo72232vs" path="res://assets/Sounds/03 highpiano.ogg" id="2_pbmr6"] [ext_resource type="PackedScene" uid="uid://bgh4fmqrhb0cs" path="res://assets/star_bulb.tscn" id="3_mq1le"] [ext_resource type="Script" path="res://assets/star_bulb_target.gd" id="4_1tttv"] [sub_resource type="BoxShape3D" id="BoxShape3D_2pv4i"] [sub_resource type="BoxMesh" id="BoxMesh_tp0p7"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mjtav"] transparency = 1 albedo_color = Color(1, 1, 1, 0.3) emission_enabled = true emission = Color(1, 1, 1, 1) emission_energy_multiplier = 0.61 rim = 0.38 refraction_scale = 0.88 [node name="Target1" type="StaticBody3D" groups=["targets"]] script = ExtResource("1_yma8k") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] shape = SubResource("BoxShape3D_2pv4i") [node name="MeshInstance3D" type="MeshInstance3D" parent="."] visible = false layers = 4 mesh = SubResource("BoxMesh_tp0p7") skeleton = NodePath("../..") surface_material_override/0 = SubResource("StandardMaterial3D_mjtav") [node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."] stream = ExtResource("2_pbmr6") volume_db = -80.0 autoplay = true [node name="Star bulb" parent="." instance=ExtResource("3_mq1le")] transform = Transform3D(1.3, 0, 0, 0, 1.3, 0, 0, 0, 1.3, 0, -0.542325, 0) script = ExtResource("4_1tttv") [connection signal="occupancy_changed" from="." to="Star bulb" method="_on_target_1_occupancy_changed"]