hy-farm/godot/FarmGodot/scenes/ui/game_scene.tscn
2026-05-30 20:23:54 +08:00

591 lines
18 KiB
Plaintext

[gd_scene format=3 uid="uid://dtpoteueo6pa1"]
[ext_resource type="Script" uid="uid://btg62lrxk1a52" path="res://scripts/ui/game_scene.gd" id="1_game_script"]
[ext_resource type="Texture2D" uid="uid://dwyvy7jkpoja4" path="res://assets/egret/skin/5004.jpg" id="2_ground"]
[ext_resource type="Texture2D" uid="uid://dug6we3gik5li" path="res://assets/egret/skin/5004_0.png" id="3_fence_back"]
[ext_resource type="Texture2D" uid="uid://c5ritmyligcpo" path="res://assets/egret/skin/5004_1.png" id="4_fence_front"]
[ext_resource type="Texture2D" uid="uid://dp6as7cmw4mfa" path="res://assets/egret/house/1.png" id="5_house"]
[ext_resource type="Texture2D" uid="uid://dplqbioy2fc52" path="res://assets/egret/land/land1.png" id="6_land"]
[ext_resource type="Texture2D" path="res://assets/egret/common/add_land_png.tres" id="7_add_land"]
[ext_resource type="Texture2D" path="res://assets/egret/common/dog_house_png.tres" id="8_dog_house"]
[ext_resource type="Texture2D" path="res://assets/egret/common/btn_back_home_png.tres" id="9_back_home"]
[ext_resource type="Texture2D" uid="uid://beuad031wvg51" path="res://assets/egret/menu2/top_2.png" id="10_top_panel"]
[ext_resource type="Texture2D" uid="uid://bn6a1jyemqddt" path="res://assets/egret/common/top1.png" id="11_top_base"]
[ext_resource type="Texture2D" path="res://assets/egret/menu2/menu2_top_log_png.tres" id="12_top_log"]
[ext_resource type="Texture2D" path="res://assets/egret/menu2/menu2_top_landup_png.tres" id="13_top_landup"]
[ext_resource type="Texture2D" path="res://assets/egret/menu2/menu2_toppay_png.tres" id="14_top_pay"]
[ext_resource type="Texture2D" path="res://assets/egret/menu2/menu2_top_paygift_png.tres" id="15_top_paygift"]
[ext_resource type="Texture2D" path="res://assets/egret/menu2/menu2_top_crystal_png.tres" id="16_top_crystal"]
[ext_resource type="Texture2D" path="res://assets/egret/menu2/menu2_top_lottery_png.tres" id="18_top_lottery"]
[ext_resource type="Texture2D" uid="uid://7yhibdkqqhcg" path="res://assets/egret/release_info/dalaba.png" id="20_dalaba"]
[ext_resource type="Texture2D" uid="uid://d1ioxa287l68e" path="res://assets/egret/common/img_redpoint.png" id="21_redpoint"]
[ext_resource type="Texture2D" uid="uid://bbxvejgwowr8k" path="res://assets/egret/menu2/btn_top_show.png" id="22_top_hide"]
[ext_resource type="Texture2D" path="res://assets/replacement/ui/gold_bean.png" id="23_gold_icon"]
[ext_resource type="Texture2D" uid="uid://bowrr6063iyj1" path="res://assets/egret/icon/3001.png" id="24_diamond_icon"]
[ext_resource type="Texture2D" uid="uid://dmvbobvkkklk1" path="res://assets/egret/common/mainPowerTitle.png" id="25_power_title"]
[ext_resource type="Texture2D" path="res://assets/egret/sign/inp_day_bg_png.tres" id="26_head_mask"]
[ext_resource type="Texture2D" uid="uid://caf4flsq7ku60" path="res://assets/egret/head/head1.png" id="27_head"]
[ext_resource type="Texture2D" path="res://assets/egret/common/exp_png.tres" id="28_exp_text"]
[ext_resource type="Texture2D" uid="uid://brwo0adkaopy7" path="res://assets/egret/menu2/vip.png" id="29_vip"]
[ext_resource type="Texture2D" path="res://assets/egret/common/exp_bar_bg_png.tres" id="30_exp_bg"]
[ext_resource type="Texture2D" path="res://assets/egret/common/exp_bar_png.tres" id="31_exp_fill"]
[ext_resource type="Texture2D" path="res://assets/egret/menu2/menu2_m_home_png.tres" id="32_home"]
[ext_resource type="Texture2D" uid="uid://cf7tn85ejhyn6" path="res://assets/egret/land/land-1.png" id="33_land_locked"]
[ext_resource type="Texture2D" path="res://assets/egret/menu2/menu2_left_notice_png.tres" id="35_left_notice"]
[ext_resource type="Texture2D" path="res://assets/egret/menu2/menu2_left_sign_png.tres" id="36_left_sign"]
[ext_resource type="Texture2D" path="res://assets/egret/menu2/menu2_left_rewardgift_png.tres" id="37_left_reward"]
[ext_resource type="Texture2D" path="res://assets/replacement/menu2/market.png" id="39_market"]
[ext_resource type="Texture2D" path="res://assets/replacement/ui/stamina_text.png" id="40_stamina_text"]
[ext_resource type="Texture2D" path="res://assets/replacement/ui/stamina_bar.png" id="41_stamina_bar"]
[node name="GameScene" type="Control" unique_id=1830263827]
clip_contents = true
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_game_script")
[node name="Ground" type="TextureRect" parent="." unique_id=594790352]
layout_mode = 0
offset_right = 640.0
offset_bottom = 1024.0
texture = ExtResource("2_ground")
[node name="House" type="TextureRect" parent="." unique_id=1417100888]
layout_mode = 0
offset_left = 267.0
offset_top = 168.0
offset_right = 608.0
offset_bottom = 505.0
texture = ExtResource("5_house")
[node name="DogHouse" type="TextureRect" parent="." unique_id=1446944573]
layout_mode = 0
offset_left = 144.34
offset_top = 430.0
offset_right = 206.34
offset_bottom = 498.0
texture = ExtResource("8_dog_house")
[node name="FenceBack" type="TextureRect" parent="." unique_id=2118132766]
layout_mode = 0
offset_left = 183.0
offset_top = 465.0
offset_right = 640.0
offset_bottom = 675.0
texture = ExtResource("3_fence_back")
[node name="GameView" type="Control" parent="." unique_id=676496985]
anchors_preset = 0
offset_right = 640.0
offset_bottom = 960.0
[node name="Land0" type="TextureRect" parent="GameView" unique_id=124748347]
layout_mode = 0
offset_left = 280.0
offset_top = 500.0
offset_right = 452.0
offset_bottom = 602.0
texture = ExtResource("6_land")
[node name="Land1" type="TextureRect" parent="GameView" unique_id=667223299]
layout_mode = 0
offset_left = 183.0
offset_top = 550.0
offset_right = 355.0
offset_bottom = 652.0
texture = ExtResource("6_land")
[node name="Land2" type="TextureRect" parent="GameView" unique_id=115415182]
layout_mode = 0
offset_left = 86.0
offset_top = 600.0
offset_right = 258.0
offset_bottom = 702.0
texture = ExtResource("33_land_locked")
[node name="Land3" type="TextureRect" parent="GameView" unique_id=714848666]
layout_mode = 0
offset_left = 377.0
offset_top = 547.0
offset_right = 549.0
offset_bottom = 649.0
texture = ExtResource("33_land_locked")
[node name="Land4" type="TextureRect" parent="GameView" unique_id=1061632217]
layout_mode = 0
offset_left = 280.0
offset_top = 597.0
offset_right = 452.0
offset_bottom = 699.0
texture = ExtResource("33_land_locked")
[node name="Land5" type="TextureRect" parent="GameView" unique_id=1942959412]
layout_mode = 0
offset_left = 183.0
offset_top = 647.0
offset_right = 355.0
offset_bottom = 749.0
texture = ExtResource("33_land_locked")
[node name="Land6" type="TextureRect" parent="GameView" unique_id=633497642]
layout_mode = 0
offset_left = 474.0
offset_top = 594.0
offset_right = 646.0
offset_bottom = 696.0
texture = ExtResource("33_land_locked")
[node name="Land7" type="TextureRect" parent="GameView" unique_id=727713586]
layout_mode = 0
offset_left = 377.0
offset_top = 644.0
offset_right = 549.0
offset_bottom = 746.0
texture = ExtResource("33_land_locked")
[node name="Land8" type="TextureRect" parent="GameView" unique_id=1294827269]
layout_mode = 0
offset_left = 280.0
offset_top = 694.0
offset_right = 452.0
offset_bottom = 796.0
texture = ExtResource("33_land_locked")
[node name="Land9" type="TextureRect" parent="GameView" unique_id=862955173]
layout_mode = 0
offset_left = 571.0
offset_top = 641.0
offset_right = 743.0
offset_bottom = 743.0
texture = ExtResource("33_land_locked")
[node name="Land10" type="TextureRect" parent="GameView" unique_id=657260963]
layout_mode = 0
offset_left = 474.0
offset_top = 691.0
offset_right = 646.0
offset_bottom = 793.0
texture = ExtResource("33_land_locked")
[node name="Land11" type="TextureRect" parent="GameView" unique_id=1884635988]
layout_mode = 0
offset_left = 377.0
offset_top = 741.0
offset_right = 549.0
offset_bottom = 843.0
texture = ExtResource("33_land_locked")
[node name="AddLand" type="TextureRect" parent="GameView" unique_id=801043051]
layout_mode = 0
offset_left = 126.0
offset_top = 564.0
offset_right = 215.0
offset_bottom = 659.0
texture = ExtResource("7_add_land")
[node name="FenceFront" type="TextureRect" parent="." unique_id=551724430]
layout_mode = 0
offset_left = 24.0
offset_top = 652.0
offset_right = 664.0
offset_bottom = 916.0
texture = ExtResource("4_fence_front")
[node name="BackHome" type="TextureRect" parent="." unique_id=294626737]
visible = false
layout_mode = 0
offset_left = 493.0
offset_top = 826.0
offset_right = 636.0
offset_bottom = 957.0
texture = ExtResource("9_back_home")
expand_mode = 1
[node name="MainMenu" type="Control" parent="." unique_id=2035220988]
anchors_preset = 0
offset_left = 451.0
offset_top = 771.0
offset_right = 640.0
offset_bottom = 960.0
[node name="HomeButtonArt" type="TextureRect" parent="MainMenu" unique_id=237015211]
layout_mode = 0
offset_left = 24.0
offset_top = 34.0
offset_right = 179.0
offset_bottom = 179.0
texture = ExtResource("32_home")
[node name="LeftMenu" type="Control" parent="." unique_id=51766636]
anchors_preset = 0
offset_top = 771.0
offset_right = 189.0
offset_bottom = 960.0
[node name="MarketButtonArt" type="TextureRect" parent="LeftMenu" unique_id=1965011092]
layout_mode = 0
offset_left = 30.0
offset_top = 34.0
offset_right = 148.0
offset_bottom = 152.0
texture = ExtResource("39_market")
expand_mode = 3
stretch_mode = 5
[node name="LeftMiddleMenu" type="Control" parent="." unique_id=97923014]
anchors_preset = 0
offset_top = 250.0
offset_right = 86.0
offset_bottom = 502.0
[node name="Notice" type="TextureRect" parent="LeftMiddleMenu" unique_id=1661336729]
layout_mode = 0
offset_top = 0.0
offset_right = 86.0
offset_bottom = 78.0
texture = ExtResource("35_left_notice")
[node name="Sign" type="TextureRect" parent="LeftMiddleMenu" unique_id=544033337]
layout_mode = 0
offset_top = 88.5
offset_right = 86.0
offset_bottom = 166.5
texture = ExtResource("36_left_sign")
[node name="RewardGift" type="TextureRect" parent="LeftMiddleMenu" unique_id=1573518614]
layout_mode = 0
offset_top = 176.0
offset_right = 85.0
offset_bottom = 252.0
texture = ExtResource("37_left_reward")
[node name="ExchangeGold" type="TextureRect" parent="." unique_id=1248802723]
visible = false
layout_mode = 0
offset_left = -2.0
offset_top = 520.0
offset_right = 91.0
offset_bottom = 603.0
texture = ExtResource("16_top_crystal")
[node name="TopLayer" type="Control" parent="." unique_id=980005374]
anchors_preset = 0
offset_right = 640.0
offset_bottom = 459.0
[node name="TopButtonGroup" type="Control" parent="TopLayer" unique_id=90153147]
anchors_preset = 0
offset_top = 1.0
offset_right = 640.0
offset_bottom = 373.0
[node name="TopPanelBack" type="TextureRect" parent="TopLayer/TopButtonGroup" unique_id=337047656]
visible = false
layout_mode = 0
offset_left = 176.0
offset_top = 175.49
offset_right = 631.0
offset_bottom = 288.49
texture = ExtResource("10_top_panel")
expand_mode = 1
stretch_mode = 5
[node name="TopPanelFront" type="TextureRect" parent="TopLayer/TopButtonGroup" unique_id=322036384]
layout_mode = 0
offset_left = 182.0
offset_top = 124.0
offset_right = 631.0
offset_bottom = 231.0
texture = ExtResource("10_top_panel")
expand_mode = 1
stretch_mode = 5
[node name="TopLog" type="TextureRect" parent="TopLayer/TopButtonGroup" unique_id=353748731]
layout_mode = 0
offset_left = 200.0
offset_top = 139.0
offset_right = 274.0
offset_bottom = 213.0
texture = ExtResource("12_top_log")
[node name="TopLandup" type="TextureRect" parent="TopLayer/TopButtonGroup" unique_id=1777779145]
layout_mode = 0
offset_left = 292.5
offset_top = 132.0
offset_right = 388.5
offset_bottom = 214.0
texture = ExtResource("13_top_landup")
[node name="TopPay" type="TextureRect" parent="TopLayer/TopButtonGroup" unique_id=188030335]
visible = false
layout_mode = 0
offset_left = 423.0
offset_top = 134.0
offset_right = 479.0
offset_bottom = 214.0
texture = ExtResource("14_top_pay")
[node name="TopPayGift" type="TextureRect" parent="TopLayer/TopButtonGroup" unique_id=348171596]
layout_mode = 0
offset_left = 518.0
offset_top = 132.5
offset_right = 603.0
offset_bottom = 212.5
texture = ExtResource("15_top_paygift")
[node name="TopLottery" type="TextureRect" parent="TopLayer/TopButtonGroup" unique_id=389428429]
layout_mode = 0
offset_left = 414.5
offset_top = 131.0
offset_right = 500.5
offset_bottom = 214.0
texture = ExtResource("18_top_lottery")
[node name="FriendRedpoint" type="TextureRect" parent="TopLayer/TopButtonGroup" unique_id=1340198862]
visible = false
layout_mode = 0
offset_left = 541.5
offset_top = 148.0
offset_right = 569.5
offset_bottom = 176.0
texture = ExtResource("21_redpoint")
[node name="Laba" type="TextureRect" parent="TopLayer/TopButtonGroup" unique_id=111719876]
visible = false
layout_mode = 0
offset_left = 69.0
offset_top = 190.0
offset_right = 149.0
offset_bottom = 300.0
texture = ExtResource("20_dalaba")
[node name="TopBase" type="TextureRect" parent="TopLayer" unique_id=1725990925]
layout_mode = 0
offset_left = 1.0
offset_top = -8.0
offset_right = 641.0
offset_bottom = 189.0
texture = ExtResource("11_top_base")
expand_mode = 1
stretch_mode = 5
[node name="LabelName" type="Label" parent="TopLayer" unique_id=2026532694]
unique_name_in_owner = true
layout_mode = 0
offset_left = 24.0
offset_top = 142.0
offset_right = 196.0
offset_bottom = 169.0
text = "1231"
horizontal_alignment = 1
[node name="TopHide" type="TextureRect" parent="TopLayer" unique_id=453374752]
layout_mode = 0
offset_left = 568.0
offset_top = 45.0
offset_right = 620.0
offset_bottom = 99.0
texture = ExtResource("22_top_hide")
expand_mode = 1
stretch_mode = 5
[node name="GroupRes" type="Control" parent="TopLayer" unique_id=1651281497]
anchors_preset = 0
offset_top = 6.0
offset_right = 640.0
offset_bottom = 60.0
[node name="GoldIcon" type="TextureRect" parent="TopLayer/GroupRes" unique_id=1587720005]
layout_mode = 0
offset_left = 366.0
offset_top = 0.0
offset_right = 409.0
offset_bottom = 43.0
texture = ExtResource("23_gold_icon")
expand_mode = 1
stretch_mode = 5
[node name="DiamondIcon" type="TextureRect" parent="TopLayer/GroupRes" unique_id=1188908928]
visible = false
layout_mode = 0
offset_left = 497.0
offset_top = 7.0
offset_right = 528.0
offset_bottom = 37.0
texture = ExtResource("24_diamond_icon")
[node name="LabelGold" type="Label" parent="TopLayer/GroupRes" unique_id=710808838]
unique_name_in_owner = true
layout_mode = 0
offset_left = 412.0
offset_top = 4.0
offset_right = 604.0
offset_bottom = 39.0
text = "10000"
vertical_alignment = 1
[node name="LabelDiamond" type="Label" parent="TopLayer/GroupRes" unique_id=1736578650]
unique_name_in_owner = true
visible = false
layout_mode = 0
offset_left = 531.0
offset_top = 4.0
offset_right = 604.0
offset_bottom = 39.0
text = "10000"
vertical_alignment = 1
[node name="MainPowerTitle" type="TextureRect" parent="TopLayer/GroupRes" unique_id=1413315141]
layout_mode = 0
offset_left = 180.0
offset_top = 10.0
offset_right = 243.0
offset_bottom = 35.0
texture = ExtResource("25_power_title")
[node name="LabelScore" type="Label" parent="TopLayer" unique_id=1207515740]
unique_name_in_owner = true
layout_mode = 0
offset_left = 244.0
offset_top = 11.0
offset_right = 340.0
offset_bottom = 45.0
text = "1234"
vertical_alignment = 1
[node name="HeadMask" type="NinePatchRect" parent="TopLayer" unique_id=1008919181]
layout_mode = 0
offset_left = 53.0
offset_top = 27.0
offset_right = 165.0
offset_bottom = 137.0
texture = ExtResource("26_head_mask")
patch_margin_left = 13
patch_margin_top = 12
patch_margin_right = 14
patch_margin_bottom = 12
[node name="Avatar" type="TextureRect" parent="TopLayer" unique_id=427297638]
unique_name_in_owner = true
layout_mode = 0
offset_left = 51.0
offset_top = 23.0
offset_right = 168.0
offset_bottom = 134.0
texture = ExtResource("27_head")
expand_mode = 1
stretch_mode = 5
[node name="LabelLevel" type="Label" parent="TopLayer" unique_id=873825103]
unique_name_in_owner = true
layout_mode = 0
offset_left = 60.5
offset_top = 110.0
offset_right = 143.5
offset_bottom = 137.0
text = "LV.20"
[node name="ExpText" type="TextureRect" parent="TopLayer" unique_id=1987309012]
layout_mode = 0
offset_left = 203.0
offset_top = 52.0
offset_right = 262.0
offset_bottom = 88.0
texture = ExtResource("28_exp_text")
[node name="Vip" type="TextureRect" parent="TopLayer" unique_id=1404784547]
layout_mode = 0
offset_left = 51.0
offset_top = 25.0
offset_right = 105.0
offset_bottom = 77.0
texture = ExtResource("29_vip")
expand_mode = 1
stretch_mode = 5
[node name="ExpBarBg" type="NinePatchRect" parent="TopLayer" unique_id=7405427]
layout_mode = 0
offset_left = 265.0
offset_top = 60.0
offset_right = 371.0
offset_bottom = 81.0
texture = ExtResource("30_exp_bg")
patch_margin_left = 8
patch_margin_top = 5
patch_margin_right = 24
patch_margin_bottom = 15
[node name="ExpFill" type="NinePatchRect" parent="TopLayer" unique_id=1648615383]
unique_name_in_owner = true
layout_mode = 0
offset_left = 268.0
offset_top = 62.5
offset_right = 368.0
offset_bottom = 77.5
texture = ExtResource("31_exp_fill")
patch_margin_left = 8
patch_margin_top = 5
patch_margin_right = 16
patch_margin_bottom = 9
[node name="LabelExp" type="Label" parent="TopLayer" unique_id=261798175]
unique_name_in_owner = true
layout_mode = 0
offset_left = 265.0
offset_top = 58.0
offset_right = 371.0
offset_bottom = 83.0
text = "125/36555"
horizontal_alignment = 1
vertical_alignment = 1
[node name="StaminaText" type="TextureRect" parent="TopLayer" unique_id=122101001]
layout_mode = 0
offset_left = 384.0
offset_top = 52.0
offset_right = 452.0
offset_bottom = 88.0
texture = ExtResource("40_stamina_text")
expand_mode = 1
stretch_mode = 5
[node name="StaminaBarBg" type="NinePatchRect" parent="TopLayer" unique_id=122101002]
layout_mode = 0
offset_left = 454.0
offset_top = 60.0
offset_right = 560.0
offset_bottom = 81.0
texture = ExtResource("30_exp_bg")
patch_margin_left = 8
patch_margin_top = 5
patch_margin_right = 24
patch_margin_bottom = 15
[node name="StaminaFill" type="NinePatchRect" parent="TopLayer" unique_id=122101003]
unique_name_in_owner = true
layout_mode = 0
offset_left = 457.0
offset_top = 62.5
offset_right = 557.0
offset_bottom = 77.5
texture = ExtResource("41_stamina_bar")
patch_margin_left = 16
patch_margin_top = 5
patch_margin_right = 16
patch_margin_bottom = 9
[node name="LabelStamina" type="Label" parent="TopLayer" unique_id=122101004]
unique_name_in_owner = true
layout_mode = 0
offset_left = 454.0
offset_top = 58.0
offset_right = 560.0
offset_bottom = 83.0
text = "20/20"
horizontal_alignment = 1
vertical_alignment = 1