conductor/scenes/musicians/musician.tscn

137 lines
4.1 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene format=3 uid="uid://c1tceq1kcqngi"]
2026-03-15 20:49:01 +00:00
[ext_resource type="Texture2D" uid="uid://42h7vrqekyma" path="res://assets/sprites/symphonyguys.png" id="1_7bqbn"]
[ext_resource type="Script" uid="uid://djmn4qgj45j2p" path="res://scripts/musician.gd" id="1_ksqn6"]
[ext_resource type="PackedScene" uid="uid://ckx47081eegis" path="res://scenes/light.tscn" id="3_svwww"]
2026-03-15 20:49:01 +00:00
[ext_resource type="Texture2D" uid="uid://ck6iss1he1kpq" path="res://assets/ui/keyboard_s_outline.svg" id="4_vrlc6"]
2026-03-16 04:25:37 +00:00
[ext_resource type="AudioStream" uid="uid://bd01iv6fpqbdh" path="res://assets/audio/eine-kleine-viol.wav" id="5_1d8vp"]
2026-03-15 20:49:01 +00:00
[sub_resource type="AtlasTexture" id="AtlasTexture_5pb5f"]
atlas = ExtResource("1_7bqbn")
region = Rect2(32, 256, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_0rdls"]
atlas = ExtResource("1_7bqbn")
region = Rect2(64, 256, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_5b1d5"]
atlas = ExtResource("1_7bqbn")
region = Rect2(96, 256, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_eoced"]
atlas = ExtResource("1_7bqbn")
region = Rect2(0, 256, 32, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_1b7aj"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_5pb5f")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0rdls")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5b1d5")
}],
"loop": true,
"name": &"default",
"speed": 6.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_eoced")
}],
"loop": true,
"name": &"idle",
"speed": 5.0
}]
2026-03-15 03:57:31 +00:00
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_1d8vp"]
polygon = PackedVector2Array(-4, 14, -1, 13, 0, 14)
2026-03-16 04:25:37 +00:00
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1d8vp"]
bg_color = Color(0.6, 0.6, 0.6, 0)
draw_center = false
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7bqbn"]
bg_color = Color(0, 0, 0, 1)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.8, 0.8, 0.8, 0)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[node name="Musician" type="AnimatedSprite2D" unique_id=233159387]
2026-03-15 20:49:01 +00:00
sprite_frames = SubResource("SpriteFrames_1b7aj")
animation = &"idle"
autoplay = "idle"
2026-03-16 04:25:37 +00:00
frame_progress = 0.4639073
script = ExtResource("1_ksqn6")
2026-03-16 04:25:37 +00:00
boost_note_type = 4
2026-03-15 20:49:01 +00:00
input_action = "sample"
[node name="Audio" type="AudioStreamPlayer2D" parent="." unique_id=1183742914]
unique_name_in_owner = true
2026-03-15 20:49:01 +00:00
stream = ExtResource("5_1d8vp")
[node name="Light" parent="." unique_id=428469575 instance=ExtResource("3_svwww")]
unique_name_in_owner = true
2026-03-15 03:57:31 +00:00
position = Vector2(4, 9)
[node name="Occluder" type="LightOccluder2D" parent="." unique_id=807216766]
unique_name_in_owner = true
2026-03-15 03:57:31 +00:00
occluder = SubResource("OccluderPolygon2D_1d8vp")
2026-03-16 04:25:37 +00:00
[node name="MusicianCamera" type="Camera2D" parent="." unique_id=478462884]
zoom = Vector2(12, 12)
editor_draw_screen = false
[node name="BoostTimer" type="Timer" parent="." unique_id=1715371353]
unique_name_in_owner = true
[node name="BeatTimer" type="Timer" parent="." unique_id=1308693046]
unique_name_in_owner = true
[node name="BeatParticles" type="CPUParticles2D" parent="." unique_id=1182124992]
light_mask = 0
position = Vector2(0, -15)
emitting = false
lifetime = 0.15000000000000002
one_shot = true
direction = Vector2(0, -1)
spread = 30.0
gravity = Vector2(0, 490)
initial_velocity_min = 75.0
initial_velocity_max = 100.0
[node name="InputPrompt" type="Sprite2D" parent="." unique_id=1882230995]
unique_name_in_owner = true
2026-03-15 20:49:01 +00:00
position = Vector2(16, 0)
2026-03-16 04:25:37 +00:00
scale = Vector2(0.25, 0.25)
2026-03-15 20:49:01 +00:00
texture = ExtResource("4_vrlc6")
2026-03-16 04:25:37 +00:00
[node name="VolumeBar" type="ProgressBar" parent="InputPrompt" unique_id=2023225709]
2026-03-15 20:49:01 +00:00
unique_name_in_owner = true
2026-03-16 04:25:37 +00:00
show_behind_parent = true
light_mask = 0
custom_minimum_size = Vector2(48, 48)
offset_left = -24.0
offset_top = -24.0
offset_right = 24.0
offset_bottom = 24.0
theme_override_styles/background = SubResource("StyleBoxFlat_1d8vp")
theme_override_styles/fill = SubResource("StyleBoxFlat_7bqbn")
2026-03-15 20:49:01 +00:00
min_value = -80.0
max_value = 0.0
fill_mode = 3
show_percentage = false