xiandie/scene/ground/script/c03/s04_closeup麻将出千游戏.tscn

545 lines
17 KiB
Plaintext
Raw Normal View History

2025-07-10 09:13:31 +00:00
[gd_scene load_steps=27 format=3 uid="uid://cua3uqy4btxqn"]
2025-07-09 16:07:36 +00:00
[ext_resource type="Script" uid="uid://6ns5o344dgfo" path="res://scene/ground/script/c03/s04_closeup麻将出千游戏.gd" id="1_svv4b"]
2025-07-10 09:13:31 +00:00
[ext_resource type="Texture2D" uid="uid://d0kaqrb600hxj" path="res://asset/art/scene/c03/s04_李癞房间/打麻将游戏/背景.png" id="2_12fte"]
2025-07-09 16:07:36 +00:00
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="2_dgp1q"]
2025-07-10 09:13:31 +00:00
[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="AudioStream" uid="uid://txrow4x3dgoq" path="res://asset/audio/effect/casino/dieGrab1.ogg" id="4_dmkpy"]
[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://blaqwkcfldic6" path="res://asset/audio/effect/casino/cardSlide3.ogg" id="6_dmkpy"]
[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="Texture2D" uid="uid://bw625jmfn5o" path="res://asset/art/scene/c03/s04_李癞房间/打麻将游戏/手.png" id="9_l8x8v"]
[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="AudioStreamRandomizer" id="AudioStreamRandomizer_cv0jt"]
playback_mode = 1
streams_count = 4
stream_0/stream = ExtResource("2_mqw3j")
stream_1/stream = ExtResource("3_dmkpy")
stream_2/stream = ExtResource("6_dmkpy")
stream_3/stream = ExtResource("4_cv0jt")
[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, 240)]
}
[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, 5),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector2(118, 225), Vector2(116, 223), Vector2(116, 227), Vector2(118, 225)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_dmkpy"]
_data = {
&"RESET": SubResource("Animation_2kqht"),
&"hand_swing": SubResource("Animation_qedsv")
}
[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 = 31
height = 48
fill = 2
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(1, 1)
2025-07-09 16:07:36 +00:00
[node name="Closeup麻将出千游戏" type="CanvasLayer"]
script = ExtResource("1_svv4b")
2025-07-10 09:13:31 +00:00
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="SfxSlide" type="AudioStreamPlayer" parent="."]
stream = SubResource("AudioStreamRandomizer_cv0jt")
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("4_dmkpy")
bus = &"game_sfx"
script = ExtResource("5_cv0jt")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_dmkpy")
}
autoplay = "hand_swing"
2025-07-09 16:07:36 +00:00
[node name="BG" type="TextureRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2025-07-10 09:13:31 +00:00
mouse_filter = 2
texture = ExtResource("2_12fte")
stretch_mode = 3
[node name="Hand" type="Sprite2D" parent="."]
light_mask = 3
position = Vector2(118, 240)
texture = ExtResource("9_l8x8v")
[node name="阴影" type="PointLight2D" parent="Hand"]
position = Vector2(8, 3)
blend_mode = 1
range_layer_max = 10
range_item_cull_mask = 2
texture = SubResource("GradientTexture2D_mqw3j")
[node name="MarginContainer15" 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="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 = -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="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="MarginContainer17" 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="17" type="TextureButton" parent="Hand/MarginContainer17"]
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/MarginContainer17/17"]
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
2025-07-09 16:07:36 +00:00
2025-07-10 09:13:31 +00:00
[node name="MahjongsSidesStand" type="TextureRect" parent="Stand"]
layout_mode = 1
2025-07-09 16:07:36 +00:00
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
2025-07-10 09:13:31 +00:00
offset_top = -19.0
offset_bottom = -19.0
2025-07-09 16:07:36 +00:00
grow_horizontal = 2
grow_vertical = 2
2025-07-10 09:13:31 +00:00
mouse_filter = 2
texture = ExtResource("4_f3y72")
stretch_mode = 3
[node name="MahjongGrid" type="GridContainer" parent="Stand"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -195.0
offset_top = 25.5
offset_right = 196.0
offset_bottom = 79.5
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_constants/h_separation = 1
theme_override_constants/v_separation = 0
columns = 15
[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
2025-07-09 16:07:36 +00:00
stretch_mode = 3
2025-07-10 09:13:31 +00:00
[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="14" 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/14"]
position = Vector2(13.5, 22.5)
energy = 0.3
range_layer_max = 10
texture = SubResource("GradientTexture2D_dgp1q")
2025-07-09 16:07:36 +00:00
[node name="遮罩" type="TextureRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
2025-07-10 09:13:31 +00:00
offset_left = -120.0
offset_top = -3.0
offset_right = 116.0
offset_bottom = -3.0
2025-07-09 16:07:36 +00:00
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("2_dgp1q")
2025-07-10 09:13:31 +00:00
expand_mode = 3