ld58-collector/main.tscn

198 lines
7.4 KiB
Text

[gd_scene load_steps=18 format=3 uid="uid://dt4nq0nkmjiit"]
[ext_resource type="Script" uid="uid://b5tcsve1oo5ht" path="res://game_manager.gd" id="1_ig7tw"]
[ext_resource type="Texture2D" uid="uid://cvqsf1nlfqwpr" path="res://assets/background/background.png" id="1_lquwl"]
[ext_resource type="PackedScene" uid="uid://bohp0o2smdkwe" path="res://desk.tscn" id="2_0xm2m"]
[ext_resource type="FontFile" uid="uid://cm28kqtqj3a6n" path="res://assets/amiga4ever pro.ttf" id="2_5vw27"]
[ext_resource type="Texture2D" uid="uid://cpj3xw8js3h3" path="res://assets/chairs/chairs_back.png" id="2_7mycd"]
[ext_resource type="Texture2D" uid="uid://d03ot1f34pyhu" path="res://assets/chairs/chairs_front.png" id="3_272bh"]
[ext_resource type="PackedScene" uid="uid://dpcsom2ps588j" path="res://paintings/layout/painting_pile.tscn" id="4_1u8w0"]
[ext_resource type="PackedScene" uid="uid://csugksrssibrp" path="res://paintings/layout/painting_display.tscn" id="4_d13ii"]
[ext_resource type="AudioStream" uid="uid://db67ob7kkhsc0" path="res://assets/game sfx/failed-round.wav" id="5_cegan"]
[ext_resource type="AudioStream" uid="uid://cicodo74wnevu" path="res://assets/game sfx/next-round.wav" id="6_82xsv"]
[ext_resource type="PackedScene" uid="uid://c1acpop6amvcl" path="res://audience_manager.tscn" id="6_272bh"]
[ext_resource type="PackedScene" uid="uid://b8key4hjaldui" path="res://turn_manager.tscn" id="7_272bh"]
[ext_resource type="Script" path="res://captions.gd" id="10_ryguw"]
[ext_resource type="PackedScene" uid="uid://6a4hl2twv0lj" path="res://cursor_manager.tscn" id="20_82xsv"]
[ext_resource type="AudioStream" uid="uid://b6u25i4ivxist" path="res://theme.ogg" id="22_ryguw"]
[sub_resource type="Theme" id="Theme_272bh"]
default_font = ExtResource("2_5vw27")
default_font_size = 12
[sub_resource type="LabelSettings" id="LabelSettings_ryguw"]
font = ExtResource("2_5vw27")
shadow_size = 5
shadow_color = Color(0, 0, 0, 0.416)
[node name="Main" type="Node"]
[node name="Background" type="Sprite2D" parent="."]
texture_filter = 1
position = Vector2(640, 360)
texture = ExtResource("1_lquwl")
[node name="Chairs" type="Node2D" parent="."]
[node name="ChairsBack" type="Sprite2D" parent="Chairs"]
position = Vector2(640, 360)
texture = ExtResource("2_7mycd")
[node name="ChairsFront" type="Sprite2D" parent="Chairs"]
position = Vector2(640, 360)
texture = ExtResource("3_272bh")
[node name="Paintings" type="Node2D" parent="."]
unique_name_in_owner = true
[node name="PaintingDisplay7" parent="Paintings" instance=ExtResource("4_d13ii")]
position = Vector2(1074, 136)
[node name="PaintingDisplay6" parent="Paintings" instance=ExtResource("4_d13ii")]
position = Vector2(1074, 136)
[node name="PaintingDisplay5" parent="Paintings" instance=ExtResource("4_d13ii")]
position = Vector2(1074, 136)
[node name="PaintingDisplay4" parent="Paintings" instance=ExtResource("4_d13ii")]
position = Vector2(1074, 136)
[node name="PaintingDisplay3" parent="Paintings" instance=ExtResource("4_d13ii")]
position = Vector2(1074, 136)
[node name="PaintingDisplay2" parent="Paintings" instance=ExtResource("4_d13ii")]
position = Vector2(1074, 136)
[node name="PaintingDisplay1" parent="Paintings" instance=ExtResource("4_d13ii")]
unique_name_in_owner = true
position = Vector2(1074, 136)
[node name="GameManager" type="Node2D" parent="." node_paths=PackedStringArray("audience_manager", "desk", "turn_manager", "current_bid_display")]
unique_name_in_owner = true
script = ExtResource("1_ig7tw")
audience_manager = NodePath("../AudienceManager")
desk = NodePath("../Desk")
turn_manager = NodePath("../TurnManager")
current_bid_display = NodePath("../UI/RichTextLabel")
[node name="Timer" type="Timer" parent="GameManager"]
wait_time = 300.0
[node name="FailedPainting" type="AudioStreamPlayer" parent="GameManager"]
stream = ExtResource("5_cegan")
volume_db = -10.0
[node name="NextPainting" type="AudioStreamPlayer" parent="GameManager"]
stream = ExtResource("6_82xsv")
volume_db = -4.933
[node name="Desk" parent="." node_paths=PackedStringArray("game_manager", "turn_manager", "audience_manager") instance=ExtResource("2_0xm2m")]
game_manager = NodePath("../GameManager")
turn_manager = NodePath("../TurnManager")
audience_manager = NodePath("../AudienceManager")
[node name="UI" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
[node name="RichTextLabel" type="RichTextLabel" parent="UI"]
layout_mode = 0
offset_left = 480.0
offset_top = 434.0
offset_right = 796.0
offset_bottom = 457.0
theme = SubResource("Theme_272bh")
text = "Current Bid: $0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Captions" type="Label" parent="UI"]
layout_mode = 0
offset_top = 352.0
offset_right = 1280.0
offset_bottom = 392.0
text = "PLACEHOLDER"
label_settings = SubResource("LabelSettings_ryguw")
horizontal_alignment = 1
vertical_alignment = 1
script = ExtResource("10_ryguw")
[node name="AudienceManager" parent="." node_paths=PackedStringArray("desk", "game_manager") instance=ExtResource("6_272bh")]
desk = NodePath("../Desk")
game_manager = NodePath("../GameManager")
[node name="TurnManager" parent="." node_paths=PackedStringArray("desk", "captions", "audience_manager") instance=ExtResource("7_272bh")]
desk = NodePath("../Desk")
captions = NodePath("../UI/Captions")
audience_manager = NodePath("../AudienceManager")
[node name="CursorManager" parent="." instance=ExtResource("20_82xsv")]
[node name="BackgroundMusic" type="AudioStreamPlayer" parent="."]
unique_name_in_owner = true
stream = ExtResource("22_ryguw")
volume_db = -14.0
autoplay = true
[node name="PaintingPileDiscard" parent="." instance=ExtResource("4_1u8w0")]
unique_name_in_owner = true
offset_left = 1159.0
offset_top = 377.0
offset_right = 1260.0
offset_bottom = 442.1613
size_flags_horizontal = 3
[node name="PaintingPiles" type="HBoxContainer" parent="."]
unique_name_in_owner = true
offset_left = 86.0
offset_top = 280.0
offset_right = 847.0
offset_bottom = 310.0
theme_override_constants/separation = 24
metadata/_edit_group_ = true
[node name="PaintingPile1" parent="PaintingPiles" instance=ExtResource("4_1u8w0")]
layout_mode = 2
size_flags_horizontal = 3
[node name="PaintingPile2" parent="PaintingPiles" instance=ExtResource("4_1u8w0")]
layout_mode = 2
size_flags_horizontal = 3
[node name="PaintingPile3" parent="PaintingPiles" instance=ExtResource("4_1u8w0")]
layout_mode = 2
size_flags_horizontal = 3
[node name="PaintingPile4" parent="PaintingPiles" instance=ExtResource("4_1u8w0")]
layout_mode = 2
size_flags_horizontal = 3
[node name="PaintingPile5" parent="PaintingPiles" instance=ExtResource("4_1u8w0")]
layout_mode = 2
size_flags_horizontal = 3
[node name="PaintingPile6" parent="PaintingPiles" instance=ExtResource("4_1u8w0")]
layout_mode = 2
size_flags_horizontal = 3
[node name="PaintingPile7" parent="PaintingPiles" instance=ExtResource("4_1u8w0")]
layout_mode = 2
size_flags_horizontal = 3
[node name="PaintingPile8" parent="PaintingPiles" instance=ExtResource("4_1u8w0")]
layout_mode = 2
size_flags_horizontal = 3
[node name="PaintingPile9" parent="PaintingPiles" instance=ExtResource("4_1u8w0")]
layout_mode = 2
size_flags_horizontal = 3
[node name="PaintingPile10" parent="PaintingPiles" instance=ExtResource("4_1u8w0")]
layout_mode = 2
size_flags_horizontal = 3
[node name="PaintingPile11" parent="PaintingPiles" instance=ExtResource("4_1u8w0")]
layout_mode = 2
size_flags_horizontal = 3
[connection signal="timer_timeout" from="TurnManager" to="GameManager" method="_on_turn_manager_timer_timeout"]