frame-of-mind/src/logic-scenes/board/physics-board.tscn

214 lines
6.5 KiB
Plaintext

[gd_scene load_steps=18 format=3 uid="uid://bnskiyx1sksww"]
[ext_resource type="Texture2D" uid="uid://bi3xqdknw5tpe" path="res://logic-scenes/board/board-texture/Cork002_2K_Color.png" id="1_8brxc"]
[ext_resource type="Shader" uid="uid://kyd37e0s6fdu" path="res://logic-scenes/board/physics-board.gdshader" id="1_ggnth"]
[ext_resource type="Script" uid="uid://cqsor57nvowni" path="res://logic-scenes/board/card-board.gd" id="3_8v4c4"]
[ext_resource type="AudioStream" uid="uid://bywmf3patoe56" path="res://base-environments/youth_room/audio/board_completed.wav" id="5_qjqy3"]
[ext_resource type="AudioStream" uid="uid://dj8fpajqhj4k7" path="res://base-environments/youth_room/audio/board_incomplete.wav" id="6_vtvtf"]
[ext_resource type="Script" uid="uid://ddy8kb2hjvgss" path="res://logic-scenes/board/card collider.gd" id="6_wpxls"]
[ext_resource type="AudioStream" uid="uid://brolrc3lhaeid" path="res://base-environments/youth_room/audio/board_unfitting.wav" id="7_0phgc"]
[ext_resource type="Script" uid="uid://c1oub0cs7cph6" path="res://dev-util/stereo-switch.gd" id="8_ni75f"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ttqei"]
shader = ExtResource("1_ggnth")
shader_parameter/tex = ExtResource("1_8brxc")
shader_parameter/magic_scale_factor = 1500.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_m1g7s"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5ri3m"]
size = Vector2(4262, 766.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ivo5o"]
size = Vector2(4249, 766.5)
[sub_resource type="Animation" id="Animation_qjqy3"]
length = 0.001
[sub_resource type="Animation" id="Animation_2qppy"]
resource_name = "complete"
length = 14.5
tracks/0/type = "audio"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimationPlayer/LisaFeedback")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"clips": [{
"end_offset": 0.0,
"start_offset": 0.42,
"stream": ExtResource("5_qjqy3")
}],
"times": PackedFloat32Array(0.1)
}
tracks/0/use_blend = true
[sub_resource type="Animation" id="Animation_kvxnu"]
resource_name = "incomplete"
length = 12.0
tracks/0/type = "audio"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimationPlayer/LisaFeedback")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"clips": [{
"end_offset": 0.0,
"start_offset": 0.36,
"stream": ExtResource("6_vtvtf")
}],
"times": PackedFloat32Array(0.1)
}
tracks/0/use_blend = true
[sub_resource type="Animation" id="Animation_k5h0q"]
resource_name = "unfitting"
length = 9.0
tracks/0/type = "audio"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimationPlayer/LisaFeedback")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"clips": [{
"end_offset": 1.06,
"start_offset": 0.59,
"stream": ExtResource("7_0phgc")
}],
"times": PackedFloat32Array(0.333333)
}
tracks/0/use_blend = true
[sub_resource type="AnimationLibrary" id="AnimationLibrary_htay1"]
_data = {
&"RESET": SubResource("Animation_qjqy3"),
&"complete": SubResource("Animation_2qppy"),
&"incomplete": SubResource("Animation_kvxnu"),
&"unfitting": SubResource("Animation_k5h0q")
}
[node name="board" type="PanelContainer"]
material = SubResource("ShaderMaterial_ttqei")
clip_contents = true
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 6
size_flags_vertical = 6
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_m1g7s")
script = ExtResource("3_8v4c4")
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 2
[node name="dropzone" type="Panel" parent="HBoxContainer"]
self_modulate = Color(1, 1, 1, 0)
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 1
[node name="ScrollContainer" type="ScrollContainer" parent="HBoxContainer"]
layout_mode = 2
horizontal_scroll_mode = 0
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/ScrollContainer"]
layout_mode = 2
[node name="up" type="Control" parent="."]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
[node name="border_up" type="Area2D" parent="up"]
script = ExtResource("6_wpxls")
direction = Vector2(0, 100)
[node name="CollisionShape2D" type="CollisionShape2D" parent="up/border_up"]
position = Vector2(-58, -369)
shape = SubResource("RectangleShape2D_5ri3m")
[node name="left" type="Control" parent="."]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 4
[node name="border_left" type="Area2D" parent="left"]
script = ExtResource("6_wpxls")
direction = Vector2(100, 0)
[node name="CollisionShape2D" type="CollisionShape2D" parent="left/border_left"]
position = Vector2(-371, -21.5)
rotation = 1.5708
shape = SubResource("RectangleShape2D_ivo5o")
[node name="down" type="Control" parent="."]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
[node name="border_down" type="Area2D" parent="down"]
script = ExtResource("6_wpxls")
direction = Vector2(0, -100)
[node name="CollisionShape2D" type="CollisionShape2D" parent="down/border_down"]
position = Vector2(2, 377)
shape = SubResource("RectangleShape2D_5ri3m")
[node name="right" type="Control" parent="."]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 4
[node name="border_left" type="Area2D" parent="right"]
script = ExtResource("6_wpxls")
direction = Vector2(-100, 0)
[node name="CollisionShape2D" type="CollisionShape2D" parent="right/border_left"]
position = Vector2(20, 13)
rotation = 1.5708
shape = SubResource("RectangleShape2D_ivo5o")
[node name="instructions_panel" type="PanelContainer" parent="."]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
mouse_filter = 2
[node name="HBoxContainer" type="HBoxContainer" parent="instructions_panel"]
layout_mode = 2
mouse_filter = 2
[node name="VSeparator2" type="VSeparator" parent="instructions_panel/HBoxContainer"]
custom_minimum_size = Vector2(15, 0)
layout_mode = 2
[node name="cards_remaining" type="Label" parent="instructions_panel/HBoxContainer"]
layout_mode = 2
size_flags_vertical = 0
text = "Collect all four Mementos to fill the mind-board. "
horizontal_alignment = 1
vertical_alignment = 1
[node name="VSeparator" type="VSeparator" parent="instructions_panel/HBoxContainer"]
custom_minimum_size = Vector2(15, 0)
layout_mode = 2
[node name="Timer" type="Timer" parent="."]
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_htay1")
}
[node name="LisaFeedback" type="AudioStreamPlayer" parent="AnimationPlayer"]
volume_db = 10.0
mix_target = 2
bus = &"text"
script = ExtResource("8_ni75f")