diff --git a/godot/scenes/Tim.gd b/godot/scenes/Tim.gd index f8cd89c..7447bc9 100644 --- a/godot/scenes/Tim.gd +++ b/godot/scenes/Tim.gd @@ -70,6 +70,7 @@ func _on_stamina_empty(): var fade = get_node("/root/IngameScene/UI/FadeOverlay") fade.modulate.a = fade.minimum_opacity fade.visible = true + get_node("/root/IngameScene/UI/Curtain").visible = true get_viewport().set_input_as_handled() get_tree().paused = true diff --git a/godot/scenes/crowd/crowd.tscn b/godot/scenes/crowd/crowd.tscn index 7c82107..9cedd4e 100644 --- a/godot/scenes/crowd/crowd.tscn +++ b/godot/scenes/crowd/crowd.tscn @@ -12,25 +12,25 @@ script = ExtResource("1_y7wyj") [node name="Table_1" type="Sprite2D" parent="Tables"] z_index = 35 -position = Vector2(-70, -33) +position = Vector2(-149, -41) scale = Vector2(0.25, 0.25) texture = ExtResource("2_bax5s") [node name="Table_2" type="Sprite2D" parent="Tables"] z_index = 25 -position = Vector2(119, -94) +position = Vector2(136, -118) scale = Vector2(0.25, 0.25) texture = ExtResource("2_bax5s") [node name="Table_3" type="Sprite2D" parent="Tables"] z_index = 15 -position = Vector2(-37, -148) +position = Vector2(-23, -153) scale = Vector2(0.25, 0.25) texture = ExtResource("2_bax5s") [node name="Table_4" type="Sprite2D" parent="Tables"] z_index = 45 -position = Vector2(79, -2) +position = Vector2(239, -14) scale = Vector2(0.25, 0.25) texture = ExtResource("2_bax5s") @@ -38,96 +38,96 @@ texture = ExtResource("2_bax5s") [node name="Seat_5" type="Node2D" parent="Seats"] z_index = 10 -position = Vector2(-35, -197) +position = Vector2(-21, -214) [node name="Chair" parent="Seats/Seat_5" instance=ExtResource("3_y4hpm")] [node name="Seat_6" type="Node2D" parent="Seats"] z_index = 12 -position = Vector2(-81, -153) +position = Vector2(-67, -170) [node name="Chair" parent="Seats/Seat_6" instance=ExtResource("3_y4hpm")] [node name="Seat_7" type="Node2D" parent="Seats"] z_index = 13 -position = Vector2(9, -151) +position = Vector2(23, -168) [node name="Chair" parent="Seats/Seat_7" instance=ExtResource("3_y4hpm")] [node name="Seat_8" type="Node2D" parent="Seats"] z_index = 17 -position = Vector2(-36, -102) +position = Vector2(-22, -119) [node name="Chair" parent="Seats/Seat_8" instance=ExtResource("3_y4hpm")] [node name="Seat_9" type="Node2D" parent="Seats"] z_index = 20 -position = Vector2(119, -138) +position = Vector2(137, -177) [node name="Chair" parent="Seats/Seat_9" instance=ExtResource("3_y4hpm")] [node name="Seat_10" type="Node2D" parent="Seats"] z_index = 22 -position = Vector2(71, -95) +position = Vector2(89, -134) [node name="Chair" parent="Seats/Seat_10" instance=ExtResource("3_y4hpm")] [node name="Seat_11" type="Node2D" parent="Seats"] z_index = 23 -position = Vector2(161, -99) +position = Vector2(179, -138) [node name="Chair" parent="Seats/Seat_11" instance=ExtResource("3_y4hpm")] [node name="Seat_12" type="Node2D" parent="Seats"] z_index = 26 -position = Vector2(119, -48) +position = Vector2(137, -87) [node name="Chair" parent="Seats/Seat_12" instance=ExtResource("3_y4hpm")] [node name="Seat_1" type="Node2D" parent="Seats"] z_index = 30 -position = Vector2(-72, -76) +position = Vector2(-151, -100) [node name="Chair" parent="Seats/Seat_1" instance=ExtResource("3_y4hpm")] [node name="Seat_2" type="Node2D" parent="Seats"] z_index = 32 -position = Vector2(-118, -35) +position = Vector2(-197, -59) [node name="Chair" parent="Seats/Seat_2" instance=ExtResource("3_y4hpm")] [node name="Seat_3" type="Node2D" parent="Seats"] z_index = 33 -position = Vector2(-23, -33) +position = Vector2(-102, -57) [node name="Chair" parent="Seats/Seat_3" instance=ExtResource("3_y4hpm")] [node name="Seat_4" type="Node2D" parent="Seats"] z_index = 36 -position = Vector2(-74, 12) +position = Vector2(-153, -12) [node name="Chair" parent="Seats/Seat_4" instance=ExtResource("3_y4hpm")] [node name="Seat_13" type="Node2D" parent="Seats"] z_index = 40 -position = Vector2(75, -45) +position = Vector2(232, -72) [node name="Chair" parent="Seats/Seat_13" instance=ExtResource("3_y4hpm")] [node name="Seat_14" type="Node2D" parent="Seats"] z_index = 42 -position = Vector2(36, 0) +position = Vector2(193, -27) [node name="Chair" parent="Seats/Seat_14" instance=ExtResource("3_y4hpm")] [node name="Seat_15" type="Node2D" parent="Seats"] z_index = 43 -position = Vector2(126, -1) +position = Vector2(283, -28) [node name="Chair" parent="Seats/Seat_15" instance=ExtResource("3_y4hpm")] [node name="Seat_16" type="Node2D" parent="Seats"] z_index = 46 -position = Vector2(80, 42) +position = Vector2(237, 15) [node name="Chair" parent="Seats/Seat_16" instance=ExtResource("3_y4hpm")] diff --git a/godot/scenes/ingame_scene.tscn b/godot/scenes/ingame_scene.tscn index 136b4d7..88c78f7 100644 --- a/godot/scenes/ingame_scene.tscn +++ b/godot/scenes/ingame_scene.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=7 format=3 uid="uid://cik30de5gaaah"] +[gd_scene load_steps=8 format=3 uid="uid://cik30de5gaaah"] [ext_resource type="Script" path="res://scenes/ingame_scene.gd" id="1_objyc"] [ext_resource type="PackedScene" uid="uid://bkk87o2ooo6at" path="res://ui/overlays/fade_overlay.tscn" id="1_y6ebv"] @@ -6,6 +6,7 @@ [ext_resource type="PackedScene" uid="uid://b0xc4jjyahlvk" path="res://scenes/score_overlay.tscn" id="3_yvlw3"] [ext_resource type="PackedScene" uid="uid://bx6htkgx23t8v" path="res://scenes/crowd/crowd.tscn" id="4_aeh13"] [ext_resource type="PackedScene" uid="uid://cicyfp5xjvvu4" path="res://scenes/stage.tscn" id="5_borcq"] +[ext_resource type="Texture2D" uid="uid://c8nhtntxhrfaq" path="res://sprites/room/curtain.svg" id="5_ykdj2"] [node name="IngameScene" type="Node2D"] script = ExtResource("1_objyc") @@ -23,6 +24,23 @@ position = Vector2(291, 346) unique_name_in_owner = true visible = false +[node name="Curtain" type="Control" parent="UI"] +visible = false +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="TextureRect" type="TextureRect" parent="UI/Curtain"] +layout_mode = 0 +offset_right = 576.0 +offset_bottom = 324.0 +texture = ExtResource("5_ykdj2") +expand_mode = 2 +stretch_mode = 4 + [node name="ScoreOverlay" parent="UI" instance=ExtResource("3_yvlw3")] unique_name_in_owner = true visible = false diff --git a/godot/sprites/room/curtain.svg b/godot/sprites/room/curtain.svg new file mode 100644 index 0000000..39dbec8 --- /dev/null +++ b/godot/sprites/room/curtain.svg @@ -0,0 +1,161 @@ + + + + diff --git a/godot/sprites/room/curtain.svg.import b/godot/sprites/room/curtain.svg.import new file mode 100644 index 0000000..4e71d19 --- /dev/null +++ b/godot/sprites/room/curtain.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c8nhtntxhrfaq" +path="res://.godot/imported/curtain.svg-0e81b667ce9dc117892a1828f829b9e3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://sprites/room/curtain.svg" +dest_files=["res://.godot/imported/curtain.svg-0e81b667ce9dc117892a1828f829b9e3.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false