[gd_scene load_steps=3 format=3 uid="uid://bndf1e4sgdjr6"] [ext_resource type="Script" uid="uid://65e0rl31fx0i" path="res://Script/BigPanel/LuckyDrawPanel.gd" id="1_dcmen"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ynokl"] bg_color = Color(0.9, 0.85, 0.7, 0.95) border_width_left = 15 border_width_top = 15 border_width_right = 15 border_width_bottom = 15 border_color = Color(0.6, 0.4, 0.2, 1) corner_radius_top_left = 15 corner_radius_top_right = 15 corner_radius_bottom_right = 15 corner_radius_bottom_left = 15 corner_detail = 20 shadow_color = Color(0.3, 0.2, 0.1, 0.3) shadow_size = 8 [node name="LuckyDrawPanel" type="Panel"] offset_left = 149.0 offset_top = 1.0 offset_right = 1230.0 offset_bottom = 721.0 theme_override_styles/panel = SubResource("StyleBoxFlat_ynokl") script = ExtResource("1_dcmen") [node name="Title" type="Label" parent="."] layout_mode = 0 offset_left = 16.0 offset_top = 19.0 offset_right = 1062.0 offset_bottom = 78.0 theme_override_colors/font_color = Color(0.2, 0.6, 0.2, 1) theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/shadow_offset_x = 3 theme_override_constants/shadow_offset_y = 3 theme_override_constants/outline_size = 10 theme_override_constants/shadow_outline_size = 10 theme_override_font_sizes/font_size = 35 text = "๐ŸŽฐ ๅนธ่ฟๅคงๆŠฝๅฅ– ๐ŸŽ" horizontal_alignment = 1 vertical_alignment = 1 [node name="Label" type="Label" parent="."] modulate = Color(0.8, 0.6, 0.3, 1) layout_mode = 0 offset_top = 419.0 offset_right = 1081.0 offset_bottom = 468.0 theme_override_font_sizes/font_size = 30 text = "๐ŸŽ ๆŠฝๅฅ–่Žทๅพ—ๅฅ–ๅŠฑ ๐ŸŒพ" horizontal_alignment = 1 vertical_alignment = 1 [node name="QuitButton" type="Button" parent="."] modulate = Color(1, 0, 0, 1) custom_minimum_size = Vector2(57, 57) layout_mode = 0 offset_left = 993.0 offset_top = 30.0 offset_right = 1050.0 offset_bottom = 87.0 theme_override_font_sizes/font_size = 35 text = "X" [node name="LuckyDrawReward" type="RichTextLabel" parent="."] layout_mode = 0 offset_left = 16.0 offset_top = 481.0 offset_right = 1062.0 offset_bottom = 633.0 theme_override_font_sizes/normal_font_size = 20 bbcode_enabled = true text = "๐ŸŒŸ +500 ๅ†œๅœบ็ป้ชŒ๏ผŒ๐Ÿ’ฐ +400 ้‡‘ๅธ๏ผŒ๐Ÿ… +5 ไผ˜่ดจ็•ช่Œ„็งๅญ๏ผŒ๐Ÿ‰ +1 ไผ ๅฅ‡็ซ้พ™ๆžœ็งๅญ๏ผŒ๐Ÿšœ +2 ๅ†œๅ…ทๅผบๅŒ–็Ÿณ " horizontal_alignment = 1 [node name="Grid" type="GridContainer" parent="."] layout_mode = 0 offset_left = 16.0 offset_top = 85.0 offset_right = 1062.0 offset_bottom = 419.0 columns = 8 [node name="RewardItem" type="RichTextLabel" parent="Grid"] custom_minimum_size = Vector2(120, 120) layout_mode = 2 theme_override_constants/outline_size = 15 theme_override_font_sizes/normal_font_size = 17 bbcode_enabled = true text = "๐Ÿ’ฐ +50้‡‘ๅธ ๐ŸŒŸ +100ๅ†œๅœบ็ป้ชŒ ๐Ÿ… +4็•ช่Œ„็งๅญ ๐Ÿ‰ +3็ซ้พ™ๆžœ็งๅญ ๐Ÿšœ +1ๅ†œๅ…ท" fit_content = true horizontal_alignment = 1 vertical_alignment = 1 threaded = true [node name="HBox" type="HBoxContainer" parent="."] layout_mode = 0 offset_left = -2.0 offset_top = 633.0 offset_right = 1081.0 offset_bottom = 703.0 alignment = 1 [node name="FiveLuckyDrawButton" type="Button" parent="HBox"] modulate = Color(0.623529, 1, 0.996078, 1) custom_minimum_size = Vector2(150, 70) layout_mode = 2 theme_override_font_sizes/font_size = 35 text = "๐ŸŒฑ ไบ”่ฟžๆŠฝ ๐ŸŒฑ" [node name="TenLuckyDrawButton" type="Button" parent="HBox"] modulate = Color(0.690196, 1, 0.52549, 1) custom_minimum_size = Vector2(150, 70) layout_mode = 2 theme_override_font_sizes/font_size = 35 text = "๐ŸŒพ ๅ่ฟžๆŠฝ ๐ŸŒพ" [node name="LuckyDrawButton" type="Button" parent="HBox"] modulate = Color(1, 1, 0.52549, 1) custom_minimum_size = Vector2(150, 70) layout_mode = 2 theme_override_font_sizes/font_size = 35 text = "๐ŸŽฐ ๅ•ๆŠฝ ๐Ÿ€" [node name="ConfirmDialog" type="ConfirmationDialog" parent="."] title = "๐ŸŽฐ ๅ†œๅœบๅนธ่ฟ่ฝฌ็›˜ ๐ŸŒพ" initial_position = 3 size = Vector2i(450, 350) current_screen = 0 ok_button_text = "๐ŸŽฒ ็กฎๅฎšๆŠฝๅฅ–" dialog_text = "๐ŸŒฑ ๆฌข่ฟŽๆฅๅˆฐ่Œ่Šฝๅ†œๅœบ็š„ๅนธ่ฟ่ฝฌ็›˜๏ผ ๐ŸŽ ๅœจ่ฟ™้‡Œๆ‚จๅฏไปฅ่Žทๅพ—็่ดต็š„ๅ†œๅœบๅฅ–ๅŠฑ๏ผš ๐Ÿ’ฐ ้‡‘ๅธใ€๐ŸŒŸ ็ป้ชŒใ€๐ŸŒพ ็งๅญใ€๐Ÿšœ ๅ†œๅ…ท็ญ‰ ๐Ÿ€ ๅ‡†ๅค‡ๅฅฝๅผ€ๅง‹ๆ‚จ็š„ๅนธ่ฟไน‹ๆ—…ไบ†ๅ—๏ผŸ" dialog_autowrap = true cancel_button_text = "โŒ ๅ–ๆถˆ" [connection signal="pressed" from="QuitButton" to="." method="_on_quit_button_pressed"] [connection signal="pressed" from="HBox/FiveLuckyDrawButton" to="." method="_on_five_lucky_draw_button_pressed"] [connection signal="pressed" from="HBox/TenLuckyDrawButton" to="." method="_on_ten_lucky_draw_button_pressed"] [connection signal="pressed" from="HBox/LuckyDrawButton" to="." method="_on_lucky_draw_button_pressed"]