[gd_scene load_steps=10 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" path="res://logic-scenes/board/physics-board.gdshader" id="1_ggnth"]
[ext_resource type="Script" path="res://logic-scenes/board/card-board.gd" id="3_8v4c4"]
[ext_resource type="PackedScene" uid="uid://bvowj4l8dtceu" path="res://dev-util/board of devs.tscn" id="4_sskx2"]
[ext_resource type="PackedScene" uid="uid://chwf61qpn2sqw" path="res://logic-scenes/board/empty_sticky_note_panel.tscn" id="5_dr0qs"]
[ext_resource type="Script" path="res://logic-scenes/board/card collider.gd" id="6_wpxls"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_ttqei"]
shader = ExtResource("1_ggnth")
shader_parameter/magic_scale_factor = 1500.0
shader_parameter/tex = ExtResource("1_8brxc")

[sub_resource type="RectangleShape2D" id="RectangleShape2D_5ri3m"]
size = Vector2(4262, 766.5)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_ivo5o"]
size = Vector2(4249, 766.5)

[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
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="Panel" parent="HBoxContainer/ScrollContainer/VBoxContainer" instance=ExtResource("5_dr0qs")]
layout_mode = 2

[node name="board of devs" parent="." instance=ExtResource("4_sskx2")]
process_mode = 4
visible = false
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
