hurrmmm/godot/control_scheme/controller.tscn

60 lines
2.0 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://drmb4sitb74fx"]
[ext_resource type="Script" path="res://control_scheme/controller.gd" id="1_h3pjb"]
[ext_resource type="PackedScene" uid="uid://p2n48c8st55d" path="res://control_scheme/radial_ui.tscn" id="2_qidcb"]
[ext_resource type="AudioStream" uid="uid://ckhf7ksthi053" path="res://audio/charge.wav" id="3_exgm6"]
[ext_resource type="AudioStream" uid="uid://c5v6c6x05lqg3" path="res://audio/billiard-clack.wav" id="4_12r5s"]
[ext_resource type="AudioStream" uid="uid://bg07vavc0duo5" path="res://audio/error.mp3" id="5_l6rvw"]
[sub_resource type="Animation" id="Animation_p1nwe"]
resource_name = "highlight_target"
loop_mode = 2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:strobe_amount")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [0.0, 0.3, 0.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_e1dcv"]
_data = {
"highlight_target": SubResource("Animation_p1nwe")
}
[node name="controller" type="Node3D"]
top_level = true
script = ExtResource("1_h3pjb")
[node name="rotate_helper" type="Node3D" parent="."]
unique_name_in_owner = true
[node name="camera_spot" type="Marker3D" parent="rotate_helper"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0)
[node name="radial_ui" parent="." instance=ExtResource("2_qidcb")]
unique_name_in_owner = true
[node name="ChargeSound" type="AudioStreamPlayer" parent="."]
unique_name_in_owner = true
stream = ExtResource("3_exgm6")
[node name="ChargeReleaseSound" type="AudioStreamPlayer" parent="."]
unique_name_in_owner = true
stream = ExtResource("4_12r5s")
[node name="NoChargesSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource("5_l6rvw")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "highlight_target"
libraries = {
"": SubResource("AnimationLibrary_e1dcv")
}