[gd_scene format=3 uid="uid://cukfdjcnb5tm6"] [ext_resource type="Script" uid="uid://bqrfmft2g1agc" path="res://scenes/main/main.gd" id="1_7smn1"] [ext_resource type="AudioStream" uid="uid://cv42wcg48s7pe" path="res://assets/audio/kenney_casino-audio/Audio/card-slide-1.ogg" id="2_m4h2d"] [ext_resource type="PackedScene" uid="uid://bvpyqyftqhy45" path="res://scenes/character/character.tscn" id="2_raeie"] [ext_resource type="Script" uid="uid://b1w0ocrgjkjen" path="res://scenes/managers/game_manager.gd" id="3_hxu8e"] [ext_resource type="AudioStream" uid="uid://cfv8y85lm0rv1" path="res://assets/audio/kenney_casino-audio/Audio/card-slide-2.ogg" id="3_p8abn"] [ext_resource type="Script" uid="uid://bwam50qxikpw4" path="res://scenes/character/chara_resource.gd" id="4_nvumn"] [ext_resource type="AudioStream" uid="uid://b0eggikcow8xr" path="res://assets/audio/kenney_casino-audio/Audio/card-slide-3.ogg" id="4_s17dp"] [ext_resource type="AudioStream" uid="uid://5n4xmrthp0em" path="res://assets/audio/kenney_casino-audio/Audio/card-slide-4.ogg" id="5_37hlw"] [ext_resource type="Resource" uid="uid://c87odmn680x7" path="res://resources/characters/duchex.tres" id="5_ou6is"] [ext_resource type="AudioStream" uid="uid://c0winrfat714w" path="res://assets/audio/kenney_casino-audio/Audio/card-slide-5.ogg" id="6_6llfj"] [ext_resource type="Resource" uid="uid://gy4ygqrjj5ys" path="res://resources/characters/duke.tres" id="6_necax"] [ext_resource type="AudioStream" uid="uid://cbew82s7f33tm" path="res://assets/audio/kenney_casino-audio/Audio/card-slide-6.ogg" id="7_0bhws"] [ext_resource type="Resource" uid="uid://da2ptl3f7h0ot" path="res://resources/characters/king.tres" id="7_r4lks"] [ext_resource type="AudioStream" uid="uid://dbwso01ip7fy3" path="res://assets/audio/kenney_casino-audio/Audio/card-slide-7.ogg" id="8_62atk"] [ext_resource type="Resource" uid="uid://wq3g1j3l4gl6" path="res://resources/characters/queen.tres" id="8_pg34l"] [ext_resource type="AudioStream" uid="uid://x6erlvj03nlm" path="res://assets/audio/kenney_casino-audio/Audio/card-slide-8.ogg" id="9_i7in8"] [ext_resource type="Script" uid="uid://d26mv2xtvmpqt" path="res://scenes/mask/mask_resource.gd" id="9_m4h2d"] [ext_resource type="AudioStream" uid="uid://vrw6idscfnei" path="res://assets/audio/kenney_casino-audio/Audio/card-shove-1.ogg" id="10_6llfj"] [ext_resource type="Resource" uid="uid://cuf1ocb4px4m3" path="res://resources/masks/cat.tres" id="10_p8abn"] [ext_resource type="AudioStream" uid="uid://b5ea6pr6bv85d" path="res://assets/audio/kenney_casino-audio/Audio/card-shove-2.ogg" id="11_0bhws"] [ext_resource type="Resource" uid="uid://pdiaprcknftw" path="res://resources/masks/mute.tres" id="11_s17dp"] [ext_resource type="Resource" uid="uid://cbcqtj8mxngfy" path="res://resources/masks/unracist.tres" id="12_37hlw"] [ext_resource type="AudioStream" uid="uid://dpv07j0ia0ayl" path="res://assets/audio/kenney_casino-audio/Audio/card-shove-3.ogg" id="12_62atk"] [ext_resource type="AudioStream" uid="uid://b7pe3ogc8rbvx" path="res://assets/audio/kenney_casino-audio/Audio/card-shove-4.ogg" id="13_i7in8"] [ext_resource type="Script" uid="uid://cgctwciolfqe5" path="res://scenes/camera/camera_controller.gd" id="14_0bhws"] [ext_resource type="Texture2D" uid="uid://c60m6ulhqcbga" path="res://assets/decor/BG.png" id="14_os81g"] [ext_resource type="Texture2D" uid="uid://dbpdehppn5h8v" path="res://assets/decor/entrance_bg_objects.png" id="15_1k3ck"] [ext_resource type="PackedScene" uid="uid://0rq12xgcteak" path="res://scenes/list/list.tscn" id="25_6llfj"] [ext_resource type="Resource" uid="uid://bfvky2dpu6vv0" path="res://resources/guests/duke_unmasked.tres" id="27_6w6mm"] [ext_resource type="Resource" uid="uid://cfargib0urafc" path="res://resources/guests/duchex_unmasked.tres" id="27_62f45"] [ext_resource type="Resource" uid="uid://ca2fcdibf0mdm" path="res://resources/guests/queen_unracist.tres" id="28_r1bmu"] [ext_resource type="Resource" uid="uid://ctqdbo8xg3v88" path="res://resources/guests/duchex_cat.tres" id="29_6w6mm"] [ext_resource type="Script" uid="uid://bb0od2qqdx3or" path="res://scenes/main/ready_bell.gd" id="33_tbnf8"] [ext_resource type="Texture2D" uid="uid://c3bxwu75mcl87" path="res://assets/decor/mask_page_held.png" id="35_1k3ck"] [ext_resource type="Texture2D" uid="uid://ce7wdct4e27e1" path="res://assets/decor/reception.png" id="35_62f45"] [ext_resource type="PackedScene" uid="uid://cayrxqnypoytu" path="res://scenes/table/table.tscn" id="35_r1bmu"] [ext_resource type="Texture2D" uid="uid://cl1a50j64nnlh" path="res://assets/decor/guest_page_held.png" id="36_62f45"] [ext_resource type="Texture2D" uid="uid://coahojeky8ul7" path="res://assets/decor/bell.png" id="37_6g32y"] [ext_resource type="Texture2D" uid="uid://cgl8g5eqy8xm0" path="res://assets/decor/hand_bell.png" id="39_62f45"] [sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_gkmcc"] random_pitch = 1.122462 streams_count = 8 stream_0/stream = ExtResource("2_m4h2d") stream_1/stream = ExtResource("3_p8abn") stream_2/stream = ExtResource("4_s17dp") stream_3/stream = ExtResource("5_37hlw") stream_4/stream = ExtResource("6_6llfj") stream_5/stream = ExtResource("7_0bhws") stream_6/stream = ExtResource("8_62atk") stream_7/stream = ExtResource("9_i7in8") [sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_7nlll"] random_pitch = 1.122462 streams_count = 4 stream_0/stream = ExtResource("10_6llfj") stream_1/stream = ExtResource("11_0bhws") stream_2/stream = ExtResource("12_62atk") stream_3/stream = ExtResource("13_i7in8") [sub_resource type="AudioStreamInteractive" id="AudioStreamInteractive_7smn1"] clip_count = 2 clip_0/name = &"list_side" clip_0/stream = SubResource("AudioStreamRandomizer_gkmcc") clip_0/auto_advance = 0 clip_1/name = &"list_up" clip_1/stream = SubResource("AudioStreamRandomizer_7nlll") clip_1/auto_advance = 0 initial_clip = 1 _transitions = { Vector2i(-1, -1): { "fade_beats": 1.0, "fade_mode": 4, "from_time": 0, "to_time": 1 } } [sub_resource type="RectangleShape2D" id="RectangleShape2D_ya4ey"] size = Vector2(512, 1080) [sub_resource type="Animation" id="Animation_7smn1"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("GuestList:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(-409, 523)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("GuestList:rotation") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [-0.16732943] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("MaskList:position") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(409, 523)] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("MaskList:rotation") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [0.1675516] } [sub_resource type="Animation" id="Animation_hxu8e"] resource_name = "guest_list_down" length = 0.2 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("GuestList:position") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.19999999), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(-388, 176), Vector2(-409, 523)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("GuestList:rotation") tracks/1/interp = 2 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.19999999), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [0.0, -0.16732943] } tracks/2/type = "method" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath(".") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "values": [{ "args": [], "method": &"play_list_down_sfx" }] } [sub_resource type="Animation" id="Animation_raeie"] resource_name = "guest_list_up" length = 0.2 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("GuestList:position") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.19999999), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(-409, 523), Vector2(-388, 176)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("GuestList:rotation") tracks/1/interp = 2 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.19999999), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [-0.16732943, 0.0] } tracks/2/type = "method" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath(".") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "values": [{ "args": [], "method": &"play_list_up_sfx" }] } [sub_resource type="Animation" id="Animation_62atk"] resource_name = "mask_list_down" length = 0.2 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("MaskList:position") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.19999999), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(388, 176), Vector2(409, 523)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("MaskList:rotation") tracks/1/interp = 2 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.19999999), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [0.0, 0.1675516] } tracks/2/type = "method" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath(".") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "values": [{ "args": [], "method": &"play_list_down_sfx" }] } [sub_resource type="Animation" id="Animation_0bhws"] resource_name = "mask_list_up" length = 0.2 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("MaskList:position") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.19999999), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(409, 523), Vector2(388, 176)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("MaskList:rotation") tracks/1/interp = 2 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.19999999), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [0.1675516, 0.0] } tracks/2/type = "method" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath(".") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "values": [{ "args": [], "method": &"play_list_up_sfx" }] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_hxu8e"] _data = { &"RESET": SubResource("Animation_7smn1"), &"guest_list_down": SubResource("Animation_hxu8e"), &"guest_list_up": SubResource("Animation_raeie"), &"mask_list_down": SubResource("Animation_62atk"), &"mask_list_up": SubResource("Animation_0bhws") } [sub_resource type="CircleShape2D" id="CircleShape2D_62atk"] radius = 150.0 [sub_resource type="Animation" id="Animation_6g32y"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(131, 317.00003)] } [sub_resource type="Animation" id="Animation_62f45"] resource_name = "idle" length = 0.3 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.16666667), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(131, 317.00003), Vector2(131, 478)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_6g32y"] _data = { &"RESET": SubResource("Animation_6g32y"), &"idle": SubResource("Animation_62f45") } [node name="Main" type="Node2D" unique_id=875553242] script = ExtResource("1_7smn1") [node name="SFXPlayer" type="AudioStreamPlayer" parent="." unique_id=831453323] stream = SubResource("AudioStreamInteractive_7smn1") autoplay = true bus = &"SFX" [node name="Bg" type="Sprite2D" parent="." unique_id=1478548170] position = Vector2(1480, 0) scale = Vector2(0.5, 0.5) texture = ExtResource("14_os81g") [node name="EntranceBgObjects" type="Sprite2D" parent="." unique_id=1029618154] position = Vector2(30, -129) scale = Vector2(0.5, 0.5) texture = ExtResource("15_1k3ck") [node name="Character" parent="." unique_id=138741531 instance=ExtResource("2_raeie")] [node name="GameManager" type="Node" parent="." unique_id=528989100 node_paths=PackedStringArray("character", "guest_list", "mask_list", "tables")] script = ExtResource("3_hxu8e") character_roster = Array[ExtResource("4_nvumn")]([ExtResource("5_ou6is"), ExtResource("6_necax"), ExtResource("7_r4lks"), ExtResource("8_pg34l")]) mask_roster = Array[ExtResource("9_m4h2d")]([ExtResource("10_p8abn"), ExtResource("11_s17dp"), ExtResource("12_37hlw")]) character = NodePath("../Character") guest_list = NodePath("../GuestList") mask_list = NodePath("../MaskList") tables = [NodePath("../Table"), NodePath("../Table2"), NodePath("../Table3")] lvl1_guest_1 = ExtResource("27_62f45") lvl1_guest_2 = ExtResource("27_6w6mm") lvl2_guest_1 = ExtResource("28_r1bmu") lvl2_guest_2 = ExtResource("29_6w6mm") [node name="Camera2D" type="Camera2D" parent="." unique_id=1166192115] limit_left = -960 limit_top = -540 limit_right = 3680 limit_bottom = 540 position_smoothing_enabled = true position_smoothing_speed = 10.0 script = ExtResource("14_0bhws") pan_speed = 16.04 [node name="PanRight" type="Area2D" parent="Camera2D" unique_id=1684320772] position = Vector2(960, 0) [node name="CollisionShape2D" type="CollisionShape2D" parent="Camera2D/PanRight" unique_id=1733069282] shape = SubResource("RectangleShape2D_ya4ey") [node name="PanLeft" type="Area2D" parent="Camera2D" unique_id=1942262155] position = Vector2(-960, 0) [node name="CollisionShape2D" type="CollisionShape2D" parent="Camera2D/PanLeft" unique_id=77276628] shape = SubResource("RectangleShape2D_ya4ey") [node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1813843404] libraries/ = SubResource("AnimationLibrary_hxu8e") [node name="Table" parent="." unique_id=1315188460 instance=ExtResource("35_r1bmu")] position = Vector2(2711, 22) [node name="Table2" parent="." unique_id=141765359 instance=ExtResource("35_r1bmu")] position = Vector2(2029, 236) [node name="Table3" parent="." unique_id=569701756 instance=ExtResource("35_r1bmu")] position = Vector2(3430, 217) [node name="Reception" type="Sprite2D" parent="." unique_id=96935292] position = Vector2(95, 156) scale = Vector2(0.5, 0.5) texture = ExtResource("35_62f45") [node name="MaskList" parent="." unique_id=437192154 instance=ExtResource("25_6llfj")] visible = false position = Vector2(409, 523) rotation = 0.1675516 scale = Vector2(0.99999994, 0.99999994) [node name="Sprite2D" type="Sprite2D" parent="MaskList" unique_id=1216540471] position = Vector2(209.40524, 188.72063) scale = Vector2(0.5, 0.5) texture = ExtResource("35_1k3ck") flip_h = true [node name="GuestList" parent="." unique_id=2089675317 instance=ExtResource("25_6llfj")] position = Vector2(-409, 523) rotation = -0.16732943 [node name="Sprite2D" type="Sprite2D" parent="GuestList" unique_id=2026369586] position = Vector2(-218.29799, 139.59222) scale = Vector2(0.5, 0.5) texture = ExtResource("36_62f45") [node name="ReadyBell" type="Area2D" parent="." unique_id=1350504622] position = Vector2(-5, 376) script = ExtResource("33_tbnf8") [node name="CollisionShape2D" type="CollisionShape2D" parent="ReadyBell" unique_id=403528288] shape = SubResource("CircleShape2D_62atk") [node name="Sprite2D" type="Sprite2D" parent="ReadyBell" unique_id=1323765091] scale = Vector2(0.3, 0.3) texture = ExtResource("37_6g32y") [node name="RingBell" type="Sprite2D" parent="." unique_id=1001478580] position = Vector2(131, 317.00003) scale = Vector2(0.3, 0.3) texture = ExtResource("39_62f45") [node name="AnimationPlayer" type="AnimationPlayer" parent="RingBell" unique_id=1180701987] libraries/ = SubResource("AnimationLibrary_6g32y") autoplay = &"idle" [connection signal="mouse_entered" from="Camera2D/PanRight" to="Camera2D" method="_on_pan_right_mouse_entered"] [connection signal="mouse_exited" from="Camera2D/PanRight" to="Camera2D" method="_on_pan_right_mouse_exited"] [connection signal="mouse_entered" from="Camera2D/PanLeft" to="Camera2D" method="_on_pan_left_mouse_entered"] [connection signal="mouse_exited" from="Camera2D/PanLeft" to="Camera2D" method="_on_pan_left_mouse_exited"] [connection signal="seat_clicked" from="Table" to="GameManager" method="on_seat_clicked"] [connection signal="seat_clicked" from="Table2" to="GameManager" method="on_seat_clicked"] [connection signal="seat_clicked" from="Table3" to="GameManager" method="on_seat_clicked"] [connection signal="mouse_entered" from="MaskList" to="." method="_on_mask_list_mouse_entered"] [connection signal="mouse_exited" from="MaskList" to="." method="_on_mask_list_mouse_exited"] [connection signal="mouse_entered" from="GuestList" to="." method="_on_guest_list_mouse_entered"] [connection signal="mouse_exited" from="GuestList" to="." method="_on_guest_list_mouse_exited"] [connection signal="input_event" from="ReadyBell" to="GameManager" method="_on_ready_bell_input_event"] [connection signal="mouse_entered" from="ReadyBell" to="ReadyBell" method="_on_mouse_entered"] [connection signal="mouse_exited" from="ReadyBell" to="ReadyBell" method="_on_mouse_exited"]