[gd_scene load_steps=28 format=3 uid="uid://cua3uqy4btxqn"] [ext_resource type="Script" uid="uid://6ns5o344dgfo" path="res://scene/ground/script/c03/s04_closeup麻将出千游戏.gd" id="1_svv4b"] [ext_resource type="Texture2D" uid="uid://d0kaqrb600hxj" path="res://asset/art/scene/c03/s04_李癞房间/打麻将游戏/背景.png" id="2_12fte"] [ext_resource type="AudioStream" uid="uid://cxnu37nliruep" path="res://asset/audio/effect/casino/cardSlide1.ogg" id="2_mqw3j"] [ext_resource type="AudioStream" uid="uid://dcxn7dvq3805d" path="res://asset/audio/effect/casino/cardSlide2.ogg" id="3_dmkpy"] [ext_resource type="Texture2D" uid="uid://ddkrgrehgphkx" path="res://asset/art/scene/c03/s04_李癞房间/打麻将游戏/桌子.png" id="3_fkih2"] [ext_resource type="AudioStream" uid="uid://orwlj5usnlng" path="res://asset/audio/effect/casino/cardSlide4.ogg" id="4_cv0jt"] [ext_resource type="Texture2D" uid="uid://d3xg6rx5axcba" path="res://asset/art/scene/c03/s04_李癞房间/打麻将游戏/横着的麻将两侧.png" id="4_f3y72"] [ext_resource type="Texture2D" uid="uid://dc6sj2holh1gn" path="res://asset/art/scene/c03/s04_李癞房间/打麻将游戏/三万.png" id="4_k8d28"] [ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="5_cv0jt"] [ext_resource type="Texture2D" uid="uid://lyuhsi4v6w7d" path="res://asset/art/scene/c03/s04_李癞房间/打麻将游戏/竖着的麻将.png" id="5_g4w7h"] [ext_resource type="Texture2D" uid="uid://d10g7i8qw300u" path="res://asset/art/scene/c03/s04_李癞房间/打麻将游戏/横着的麻将.png" id="6_bydo0"] [ext_resource type="AudioStream" uid="uid://be0crkj8aguk4" path="res://asset/audio/effect/casino/cardOpenPackage2.ogg" id="6_cv0jt"] [ext_resource type="AudioStream" uid="uid://dijl1phxuagkx" path="res://asset/audio/effect/casino/cardPlace1.ogg" id="6_e4lq6"] [ext_resource type="AudioStream" uid="uid://cqkwtc7ui71xy" path="res://asset/audio/effect/casino/chipLay1.ogg" id="6_l8x8v"] [ext_resource type="AudioStream" uid="uid://cyh1ynixo2li" path="res://asset/audio/effect/casino/chipLay3.ogg" id="7_e4lq6"] [ext_resource type="AudioStream" uid="uid://dutk2d7nilv3m" path="res://asset/audio/sfx/UI/令牌道具获取.wav" id="9_dmkpy"] [ext_resource type="Texture2D" uid="uid://bw625jmfn5o" path="res://asset/art/scene/c03/s04_李癞房间/打麻将游戏/手.png" id="9_l8x8v"] [ext_resource type="Texture2D" uid="uid://5bp1eainn24w" path="res://asset/art/scene/c03/s04_李癞房间/打麻将游戏/打麻将遮罩.png" id="18_cv0jt"] [sub_resource type="AudioStreamSynchronized" id="AudioStreamSynchronized_012pb"] stream_count = 3 stream_0/stream = ExtResource("2_mqw3j") stream_0/volume = 0.0 stream_1/stream = ExtResource("3_dmkpy") stream_1/volume = 0.0 stream_2/stream = ExtResource("4_cv0jt") stream_2/volume = 0.0 [sub_resource type="Animation" id="Animation_2kqht"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Hand:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(118, 226)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("Hand:visible") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [false] } [sub_resource type="Animation" id="Animation_qedsv"] resource_name = "hand_swing" length = 5.0 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Hand:position") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1.23333, 3.9), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [Vector2(118, 226), Vector2(116, 223), Vector2(116, 227)] } [sub_resource type="Animation" id="Animation_dmkpy"] resource_name = "show_hand" length = 3.0 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Hand:visible") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("Hand:position") tracks/1/interp = 2 tracks/1/loop_wrap = false tracks/1/keys = { "times": PackedFloat32Array(0, 3), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(80, 357), Vector2(118, 226)] } tracks/2/type = "method" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("AnimationPlayer") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(3), "transitions": PackedFloat32Array(1), "values": [{ "args": [&"hand_swing"], "method": &"play" }] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_dmkpy"] _data = { &"RESET": SubResource("Animation_2kqht"), &"hand_swing": SubResource("Animation_qedsv"), &"show_hand": SubResource("Animation_dmkpy") } [sub_resource type="Gradient" id="Gradient_l8x8v"] offsets = PackedFloat32Array(0, 0.606707, 0.998476) colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0) [sub_resource type="GradientTexture2D" id="GradientTexture2D_mqw3j"] gradient = SubResource("Gradient_l8x8v") width = 200 height = 100 fill_to = Vector2(0, 1) [sub_resource type="Gradient" id="Gradient_svv4b"] offsets = PackedFloat32Array(0, 0.78811, 1) colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0) [sub_resource type="GradientTexture2D" id="GradientTexture2D_dgp1q"] gradient = SubResource("Gradient_svv4b") width = 28 height = 45 fill = 2 fill_from = Vector2(0.5, 0.5) fill_to = Vector2(1, 1) [node name="Closeup麻将出千游戏" type="CanvasLayer"] script = ExtResource("1_svv4b") metadata/_edit_horizontal_guides_ = [38.0, 278.0] [node name="SfxShuffle" type="AudioStreamPlayer" parent="."] stream = SubResource("AudioStreamSynchronized_012pb") bus = &"game_sfx" script = ExtResource("5_cv0jt") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" [node name="SfxStart" type="AudioStreamPlayer" parent="."] stream = ExtResource("6_cv0jt") bus = &"game_sfx" script = ExtResource("5_cv0jt") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" [node name="SfxPlace" type="AudioStreamPlayer" parent="."] stream = ExtResource("6_e4lq6") bus = &"game_sfx" script = ExtResource("5_cv0jt") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" [node name="SfxSelect" type="AudioStreamPlayer" parent="."] stream = ExtResource("6_l8x8v") bus = &"game_sfx" script = ExtResource("5_cv0jt") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" [node name="SfxSwitch" type="AudioStreamPlayer" parent="."] stream = ExtResource("7_e4lq6") bus = &"game_sfx" script = ExtResource("5_cv0jt") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" [node name="SfxSuccess" type="AudioStreamPlayer" parent="."] stream = ExtResource("9_dmkpy") bus = &"game_sfx" script = ExtResource("5_cv0jt") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_dmkpy") } [node name="BG" type="TextureRect" parent="."] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("2_12fte") stretch_mode = 3 [node name="阴影" type="PointLight2D" parent="."] position = Vector2(128, 245) energy = 0.7 blend_mode = 1 range_layer_max = 10 range_item_cull_mask = 2 texture = SubResource("GradientTexture2D_mqw3j") [node name="Hand" type="Sprite2D" parent="."] visible = false light_mask = 3 position = Vector2(118, 226) texture = ExtResource("9_l8x8v") [node name="MarginContainer14" type="MarginContainer" parent="Hand"] custom_minimum_size = Vector2(20, 54) offset_left = -40.0 offset_top = -6.0 offset_right = -13.0 offset_bottom = 54.0 rotation = -0.0367687 size_flags_vertical = 3 theme_override_constants/margin_top = 0 theme_override_constants/margin_bottom = 8 [node name="14" type="TextureButton" parent="Hand/MarginContainer14"] unique_name_in_owner = true self_modulate = Color(0.798366, 0.798366, 0.798366, 1) light_mask = 3 custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 2 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Hand/MarginContainer14/14"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="MarginContainer15" type="MarginContainer" parent="Hand"] custom_minimum_size = Vector2(20, 54) offset_left = -2.0 offset_top = -6.0 offset_right = 25.0 offset_bottom = 54.0 rotation = 0.112722 size_flags_vertical = 3 theme_override_constants/margin_top = 0 theme_override_constants/margin_bottom = 8 [node name="15" type="TextureButton" parent="Hand/MarginContainer15"] unique_name_in_owner = true self_modulate = Color(0.798366, 0.798366, 0.798366, 1) light_mask = 3 custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 2 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Hand/MarginContainer15/15"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="MarginContainer16" type="MarginContainer" parent="Hand"] custom_minimum_size = Vector2(20, 54) offset_left = 28.0 offset_top = -2.0 offset_right = 55.0 offset_bottom = 58.0 rotation = 0.0818219 size_flags_vertical = 3 theme_override_constants/margin_top = 0 theme_override_constants/margin_bottom = 8 [node name="16" type="TextureButton" parent="Hand/MarginContainer16"] unique_name_in_owner = true self_modulate = Color(0.798366, 0.798366, 0.798366, 1) light_mask = 3 custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 2 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Hand/MarginContainer16/16"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="Table" type="TextureRect" parent="."] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("3_fkih2") stretch_mode = 2 [node name="MahjongsSidesLay" type="TextureRect" parent="."] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -76.0 offset_bottom = -76.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("5_g4w7h") expand_mode = 5 stretch_mode = 3 [node name="MahjongsFrontLay" type="TextureRect" parent="."] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -26.0 offset_bottom = -26.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("6_bydo0") expand_mode = 5 stretch_mode = 3 [node name="Stand" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -57.0 offset_bottom = -57.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="MahjongsSidesStand" type="TextureRect" parent="Stand"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -19.0 offset_bottom = -19.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("4_f3y72") stretch_mode = 3 [node name="MahjongGrid" type="GridContainer" parent="Stand"] custom_minimum_size = Vector2(0, 55) layout_mode = 0 offset_left = 86.0 offset_top = 191.0 offset_right = 477.0 offset_bottom = 246.0 mouse_filter = 2 theme_override_constants/h_separation = 1 theme_override_constants/v_separation = 0 columns = 15 [node name="MarginContainer" type="MarginContainer" parent="Stand/MahjongGrid"] layout_mode = 2 size_flags_vertical = 3 [node name="0" type="TextureButton" parent="Stand/MahjongGrid/MarginContainer"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 8 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/MarginContainer/0"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="1" type="TextureButton" parent="Stand/MahjongGrid"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 10 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/1"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="2" type="TextureButton" parent="Stand/MahjongGrid"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 10 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/2"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="3" type="TextureButton" parent="Stand/MahjongGrid"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 10 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/3"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="4" type="TextureButton" parent="Stand/MahjongGrid"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 10 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/4"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="5" type="TextureButton" parent="Stand/MahjongGrid"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 10 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/5"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="6" type="TextureButton" parent="Stand/MahjongGrid"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 10 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/6"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="7" type="TextureButton" parent="Stand/MahjongGrid"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 10 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/7"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="8" type="TextureButton" parent="Stand/MahjongGrid"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 10 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/8"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="9" type="TextureButton" parent="Stand/MahjongGrid"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 10 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/9"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="10" type="TextureButton" parent="Stand/MahjongGrid"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 10 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/10"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="11" type="TextureButton" parent="Stand/MahjongGrid"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 10 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/11"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="12" type="TextureButton" parent="Stand/MahjongGrid"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 10 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/12"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="13" type="TextureButton" parent="Stand/MahjongGrid"] unique_name_in_owner = true custom_minimum_size = Vector2(27, 47) layout_mode = 2 size_flags_vertical = 10 texture_normal = ExtResource("4_k8d28") ignore_texture_size = true stretch_mode = 3 [node name="光束" type="PointLight2D" parent="Stand/MahjongGrid/13"] position = Vector2(13.5, 22.5) energy = 0.3 range_layer_max = 10 texture = SubResource("GradientTexture2D_dgp1q") [node name="遮罩" type="TextureRect" parent="."] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("18_cv0jt") expand_mode = 3