10.5
This commit is contained in:
parent
0982f4e650
commit
390ac82f57
@ -25,6 +25,9 @@ var npc_data:Dictionary
|
||||
var word_json_path:String="res://json/word.json"
|
||||
var word_data:Dictionary
|
||||
|
||||
var identifation_json_path:String="res://json/indetification.json"
|
||||
var identifation_data:Dictionary
|
||||
|
||||
#角色修饰数据的存储路径
|
||||
var character_embellish_data_path:String="user://emblish.data"
|
||||
var character_embellish_data:Dictionary={
|
||||
@ -70,6 +73,7 @@ func _ready() -> void:
|
||||
load_character_emblish_data()
|
||||
load_item_data()
|
||||
load_word_data()
|
||||
load_identifation_data()
|
||||
#加载当前图片数据
|
||||
func load_texture_data():
|
||||
var file=FileAccess.open(texture_json_path,FileAccess.READ)
|
||||
@ -161,6 +165,16 @@ func load_word_data():
|
||||
for i in dictionary.keys():
|
||||
dictionary[i]["id"]=i
|
||||
word_data=dictionary
|
||||
#加载鉴定时间数据
|
||||
func load_identifation_data():
|
||||
var file=FileAccess.open(identifation_json_path,FileAccess.READ)
|
||||
var str=file.get_as_text()
|
||||
var dictionary:Dictionary=JSON.parse_string(str)
|
||||
for i in dictionary.keys():
|
||||
dictionary[i]["id"]=i
|
||||
identifation_data=dictionary
|
||||
pass
|
||||
|
||||
#获取图标
|
||||
func get_texture(id:String):
|
||||
if texture_data.has(id):
|
||||
@ -266,3 +280,11 @@ func get_word_data(id:String):
|
||||
return dictionary.duplicate(true)
|
||||
else:
|
||||
return null
|
||||
#获取鉴定事件相关数据
|
||||
func get_identifation_data(id:String):
|
||||
if identifation_data.has(id):
|
||||
var dictionary:Dictionary=identifation_data[id]
|
||||
return dictionary.duplicate(true)
|
||||
else:
|
||||
return null
|
||||
pass
|
||||
|
@ -462,7 +462,8 @@ var triger:Dictionary={
|
||||
"flow_time":func (data):flow_time(data),
|
||||
"fight":func (data):fight(data),
|
||||
"add_currency":func (data):change_currency_game(data["ind"],data["value"]),
|
||||
"trade":func(data): show_trade(data)
|
||||
"trade":func(data): show_trade(data),
|
||||
"show_identifaction":func(data):show_identification(data)
|
||||
}
|
||||
#使用事件触发器
|
||||
func call_triger(triger_type:String,data):
|
||||
@ -470,7 +471,7 @@ func call_triger(triger_type:String,data):
|
||||
return triger[triger_type].call(data)
|
||||
else:
|
||||
return null
|
||||
#条件触发器(用于返回是否返回条件)
|
||||
#条件触发器(用于返回是否的条件判定结果)
|
||||
var condition_triger:Dictionary={
|
||||
"date_limit":func (data:Dictionary):return TimeTool.is_in_date(data,get_time_dictionary()),
|
||||
"time_limit":func (data:Dictionary):return TimeTool.is_in_time(data,get_time_dictionary()),
|
||||
@ -519,6 +520,11 @@ func get_rand(scene_id:String,touch_name:String,index:String,condition:float)->b
|
||||
}
|
||||
}
|
||||
return dic["last_rand_result"]
|
||||
#显示鉴定界面(用于触发器)
|
||||
func show_identification(data:String):
|
||||
if now_game_flow!=null:
|
||||
now_game_flow.show_identification(data)
|
||||
pass
|
||||
#为随机创建一个新的随机字典
|
||||
func recreate_rand_dic(condition:float)->Dictionary:
|
||||
var new_rand_result:bool=(randf()<condition)
|
||||
@ -528,6 +534,62 @@ func recreate_rand_dic(condition:float)->Dictionary:
|
||||
}
|
||||
return dic
|
||||
|
||||
#多次鉴定时每回合使用的处理函数(对字典处理),返回bool类型,表示本轮是否成功
|
||||
var identfication_round_triger_dic:Dictionary={
|
||||
"fish_round": fish_round,
|
||||
|
||||
}
|
||||
func call_round_triger(triger_type:String,character_data:Dictionary,round_dic:Dictionary,choice:String):
|
||||
if identfication_round_triger_dic.has(triger_type):
|
||||
return identfication_round_triger_dic[triger_type].call(character_data,round_dic,choice)
|
||||
else:
|
||||
return null
|
||||
func fish_round(character_data:Dictionary,round_dic:Dictionary,choice:String)->bool:
|
||||
print(choice)
|
||||
return true
|
||||
|
||||
pass
|
||||
#用来获取鉴定每轮显示的难易度
|
||||
var indetification_difficulty_get_triger:Dictionary={
|
||||
"fish":fish_get_difficulty
|
||||
}
|
||||
func call_difficulty_triger(triger_type:String,character_data:Dictionary,round_dic:Dictionary):
|
||||
if indetification_difficulty_get_triger.has(triger_type):
|
||||
return indetification_difficulty_get_triger[triger_type].call(character_data,round_dic)
|
||||
else:
|
||||
return null
|
||||
func fish_get_difficulty(character_data:Dictionary,round_dic:Dictionary):
|
||||
|
||||
|
||||
pass
|
||||
#用来判断鉴定是否结束的函数
|
||||
var identification_is_finish_triger:Dictionary={
|
||||
"normal":normal_is_finish,
|
||||
}
|
||||
func call_is_finish_triger(triger_type:String,character_data:Dictionary,round_dic:Dictionary):
|
||||
if identification_is_finish_triger.has(triger_type):
|
||||
return identification_is_finish_triger[triger_type].call(character_data,round_dic)
|
||||
else:
|
||||
return null
|
||||
func normal_is_finish(character_data:Dictionary,round_dic:Dictionary)->bool:
|
||||
if round_dic["left_cost"]==0 ||round_dic["left_total"]==round_dic["left_total_max"] || round_dic["right_cost"]==0:
|
||||
return true
|
||||
else:
|
||||
return false
|
||||
|
||||
#鉴定结束触发的函数(用于获得奖励一类的)
|
||||
var identification_finish_triger:Dictionary={
|
||||
"fish":fish_finish,
|
||||
}
|
||||
func call_finish_triger(triger_type:String,character_data:Dictionary,round_dic:Dictionary):
|
||||
if identification_finish_triger.has(triger_type):
|
||||
return identification_finish_triger[triger_type].call(character_data,round_dic)
|
||||
else:
|
||||
return null
|
||||
func fish_finish(character_data:Dictionary,round_data:Dictionary):
|
||||
|
||||
|
||||
pass
|
||||
#移动场景,前者是scene的ID,后者是距离当前场景的距离
|
||||
func move_scene(scene_id:String,distance):
|
||||
if scene_id==get_now_scene():
|
||||
|
@ -202,3 +202,10 @@ static func get_character_with_npc_favor(character_data:Dictionary,npc_id:String
|
||||
character_data["favor"][npc_id]=Database.get_npc_data(npc_id)["init_favor"]
|
||||
return favor_data[npc_id]
|
||||
pass
|
||||
#计算装备加成后的角色
|
||||
static func get_character_with_equip_value(character_data:Dictionary)->Dictionary:
|
||||
var res:Dictionary=character_data.duplicate(true)
|
||||
|
||||
|
||||
return res
|
||||
pass
|
||||
|
@ -174,4 +174,32 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"fish_test":{
|
||||
"name":"钓鱼测试事件",
|
||||
"texture":"test_scene",
|
||||
"text":"这是一个测试鉴定系统的事件",
|
||||
"choice":[
|
||||
{
|
||||
"name":"钓鱼",
|
||||
"triger":[
|
||||
{
|
||||
"type":"show_identifaction",
|
||||
"data":"fish"
|
||||
},
|
||||
{
|
||||
"type":"end_event",
|
||||
"data":""
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"结束",
|
||||
"triger":[{
|
||||
"type":"end_event",
|
||||
"data":""
|
||||
},]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
}
|
||||
|
29
json/indetification.json
Normal file
29
json/indetification.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"fish":{
|
||||
"type":1,
|
||||
"init_round":{
|
||||
"left_total":6,
|
||||
"left_cost":0,
|
||||
"right_total":0,
|
||||
"right_cost":6,
|
||||
"left_total_max":6,
|
||||
"left_cost_max":6,
|
||||
"right_total_max":6,
|
||||
"right_cost_max":6,
|
||||
"left_total_name":"鱼群警戒度",
|
||||
"left_cost_name":"鱼群数量",
|
||||
"right_total_name":"成功累计",
|
||||
"right_cost_name":"回合数",
|
||||
"indetification_name":"敏捷",
|
||||
"indetification_value":50,
|
||||
|
||||
"left_texture":"fish_fail",
|
||||
"right_texture":"rod",
|
||||
"center_texture":"rod",
|
||||
"introduction":"你来到了河边准备钓鱼",
|
||||
"choice":["钓鱼"],
|
||||
"triger":["fish_round","fish","normal","fish"]
|
||||
},
|
||||
|
||||
}
|
||||
}
|
@ -24,6 +24,10 @@
|
||||
"name":"交易测试",
|
||||
"event":"event_05"
|
||||
},
|
||||
{
|
||||
"name":"鉴定测试",
|
||||
"event":"fish_test"
|
||||
},
|
||||
],
|
||||
"linked_scene":[{
|
||||
"name":"测试场景2",
|
||||
|
@ -12,5 +12,9 @@
|
||||
"bag":"res://test/equipment/backpack.png",
|
||||
"knife":"res://test/equipment/machete.png",
|
||||
"cord":"res://test/equipment/rope.png",
|
||||
"clothes":"res://test/equipment/Icon30_16.png"
|
||||
"clothes":"res://test/equipment/Icon30_16.png",
|
||||
"fish_preview":"res://test/texture/fish_preview.jpg",
|
||||
"fish_success":"res://test/texture/fish_success.jpg",
|
||||
"fish_fail":"res://test/texture/fish_fail.jpg",
|
||||
"rod":"res://test/texture/rod.jpg"
|
||||
}
|
||||
|
@ -126,3 +126,9 @@ func _on_save_pressed() -> void:
|
||||
|
||||
func _on_load_pressed() -> void:
|
||||
pass # Replace with function body.
|
||||
#显示对应id的鉴定事件
|
||||
func show_identification(id:String):
|
||||
%identification.show()
|
||||
var indetification=Database.get_identifation_data(id)
|
||||
%identification.set_data(indetification)
|
||||
pass
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=28 format=3 uid="uid://bht5sd88340s5"]
|
||||
[gd_scene load_steps=29 format=3 uid="uid://bht5sd88340s5"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://5vyvaedcfv38" path="res://res/ui/ui_019_game_flow/tuceng1.png" id="1_gjw3y"]
|
||||
[ext_resource type="Script" path="res://scene/game_flow.gd" id="1_w6afk"]
|
||||
@ -21,6 +21,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://chh7gr3qbkr8u" path="res://scene/basic_message.tscn" id="19_xvka5"]
|
||||
[ext_resource type="PackedScene" uid="uid://cewsjbnll1iol" path="res://scene/trade.tscn" id="20_ql26d"]
|
||||
[ext_resource type="PackedScene" uid="uid://ln0ri824gh2c" path="res://scene/save_and_load.tscn" id="21_2j45w"]
|
||||
[ext_resource type="PackedScene" uid="uid://mcf2riinvukc" path="res://scene/single_identification.tscn" id="22_0wbgg"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_4wq1v"]
|
||||
|
||||
@ -460,6 +461,11 @@ visible = false
|
||||
layout_mode = 1
|
||||
need_save = true
|
||||
|
||||
[node name="identification" parent="." instance=ExtResource("22_0wbgg")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
|
||||
[connection signal="pressed" from="hbox/TextureRect/head_btn" to="." method="_on_head_btn_pressed"]
|
||||
[connection signal="pressed" from="HBoxContainer/TextureRect/save" to="." method="_on_save_pressed"]
|
||||
[connection signal="pressed" from="HBoxContainer/TextureRect2/load" to="." method="_on_load_pressed"]
|
||||
|
118
scene/multi_indetification.gd
Normal file
118
scene/multi_indetification.gd
Normal file
@ -0,0 +1,118 @@
|
||||
extends Control
|
||||
const BUXIANSHI = preload("res://res/ui/ui_029_multi_indetification/buxianshi.png")
|
||||
const XIANSHI = preload("res://res/ui/ui_029_multi_indetification/xianshi.png")
|
||||
const MULTI_INDETIFICATION_CHOICE = preload("res://scene/multi_indetification_choice.tscn")
|
||||
@onready var result_hide_group:Array=[%result_label, $MarginContainer/HBoxContainer/VBoxContainer/result_panel/Label3, %indetification_attribute_name, %identification_difficulty, %indetification_value]
|
||||
#鉴定数据
|
||||
var data:Dictionary
|
||||
#回合的数据
|
||||
var round_data:Dictionary
|
||||
|
||||
var character_data:Dictionary={}
|
||||
func set_data(_data:Dictionary):
|
||||
data=_data
|
||||
round_data=_data["init_round"].duplicate()
|
||||
round_data_update()
|
||||
pass
|
||||
#根据round data更新显示
|
||||
func round_data_update():
|
||||
if round_data.has("left_cost"):
|
||||
%left_value_panel.modulate.a=1
|
||||
%left_cost_bar.max_value=round_data["left_cost_max"]
|
||||
%left_cost_bar.value=round_data["left_cost"]
|
||||
%left_cost_value.text=str(round_data["left_cost"])
|
||||
%left_total_bar.max_value=round_data["left_total_max"]
|
||||
%left_total_bar.value=round_data["left_total"]
|
||||
%left_total_value.text=str(round_data["left_total"])
|
||||
%left_cost_name.text=round_data["left_cost_name"]
|
||||
%left_total_name.text=round_data["left_total_name"]
|
||||
|
||||
pass
|
||||
else:
|
||||
%left_value_panel.modulate.a=0
|
||||
if round_data.has("right_cost"):
|
||||
%right_value_panel.modulate.a=1
|
||||
%right_cost_bar.max_value=round_data["right_cost_max"]
|
||||
%right_cost_bar.value=round_data["right_cost"]
|
||||
%right_cost_value.text=str(round_data["right_cost"])
|
||||
%right_total_bar.max_value=round_data["right_total_max"]
|
||||
%right_total_bar.value=round_data["right_total"]
|
||||
%right_total_value.text=str(round_data["right_total"])
|
||||
%right_cost_name.text=round_data["right_cost_name"]
|
||||
%right_total_name.text=round_data["right_total_name"]
|
||||
|
||||
else:
|
||||
%right_value_panel.modulate.a=0
|
||||
if round_data.has("left_texture"):
|
||||
%left_texture_panel.modulate.a=1
|
||||
%left_texture.texture=Database.get_texture(round_data["left_texture"])
|
||||
|
||||
else:
|
||||
%left_texture_panel.modulate.a=0
|
||||
if round_data.has("right_texture"):
|
||||
%right_texture_panel.modulate.a=1
|
||||
%right_texture.texture=Database.get_texture(round_data["right_texture"])
|
||||
|
||||
else:
|
||||
%right_texture_panel.modulate.a=0
|
||||
|
||||
%center_texture.texture=Database.get_texture(round_data["center_texture"])
|
||||
%introduction_label.text=round_data["introduction"]
|
||||
for i in %choice_add_pos.get_children():
|
||||
i.queue_free()
|
||||
for i in round_data["choice"]:
|
||||
var new_choice=MULTI_INDETIFICATION_CHOICE.instantiate()
|
||||
%choice_add_pos.add_child(new_choice)
|
||||
new_choice.set_text(i)
|
||||
new_choice.click.connect(choice_click.bind(i))
|
||||
pass
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _on_introduction_visible_pressed() -> void:
|
||||
if %introduction_panel.self_modulate.a==1:
|
||||
%introduction_btn_texture.texture=BUXIANSHI
|
||||
%introduction_panel.self_modulate.a=0
|
||||
%introduction_label.hide()
|
||||
%introduction_title.hide()
|
||||
else:
|
||||
%introduction_btn_texture.texture=XIANSHI
|
||||
%introduction_panel.self_modulate.a=1
|
||||
%introduction_label.show()
|
||||
%introduction_title.show()
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
func _on_result_button_pressed() -> void:
|
||||
if %result_panel.self_modulate.a==1:
|
||||
%result_panel.self_modulate.a=0
|
||||
%result_btn_texture.texture=BUXIANSHI
|
||||
for i in result_hide_group:
|
||||
i.hide()
|
||||
else:
|
||||
%result_panel.self_modulate.a=1
|
||||
%result_btn_texture.texture=XIANSHI
|
||||
for i in result_hide_group:
|
||||
i.show()
|
||||
pass # Replace with function body.
|
||||
var is_finish:bool=false
|
||||
#结束信号
|
||||
signal finish
|
||||
func choice_click(choice:String):
|
||||
if not is_finish:
|
||||
Global.call_round_triger(round_data["triger"][0],character_data,round_data,choice)
|
||||
%AnimationPlayer.play("show_text")
|
||||
round_data_update()
|
||||
var finish=Global.call_is_finish_triger(round_data["triger"][2],character_data,round_data)
|
||||
if is_finish:
|
||||
is_finish=finish
|
||||
round_data["choice"]=["退出"]
|
||||
else:
|
||||
finish.emit()
|
@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=21 format=3 uid="uid://cya850fofki0o"]
|
||||
[gd_scene load_steps=26 format=3 uid="uid://cya850fofki0o"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://uqdkgws2e3dt" path="res://res/ui/ui_029_multi_indetification/tuceng384.png" id="1_ed1dj"]
|
||||
[ext_resource type="Script" path="res://scene/multi_indetification.gd" id="1_wgdh4"]
|
||||
[ext_resource type="Texture2D" uid="uid://bp0hnca2iyxwc" path="res://res/ui/ui_029_multi_indetification/tuceng428.png" id="2_dsv00"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwwy0mdt0du3m" path="res://res/ui/ui_029_multi_indetification/yuanjiaojuxing906.png" id="3_g70pk"]
|
||||
[ext_resource type="Texture2D" uid="uid://eeinl2kbg03v" path="res://res/ui/ui_029_multi_indetification/tuceng381.png" id="4_8bpsr"]
|
||||
@ -12,6 +13,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://d288v2pp78f81" path="res://res/ui/ui_029_multi_indetification/tuceng374.png" id="10_0lrsp"]
|
||||
[ext_resource type="Texture2D" uid="uid://c4q5rltgqjfjp" path="res://res/ui/ui_029_multi_indetification/tuceng375.png" id="11_8evla"]
|
||||
[ext_resource type="Texture2D" uid="uid://cqwrtf6jwmjew" path="res://res/ui/ui_029_multi_indetification/xianshi.png" id="12_bey2h"]
|
||||
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="13_v55ld"]
|
||||
[ext_resource type="Texture2D" uid="uid://b2l1vakf04q7h" path="res://res/ui/ui_029_multi_indetification/tuceng429.png" id="13_xkwp7"]
|
||||
[ext_resource type="Texture2D" uid="uid://bedbfud0745pl" path="res://res/ui/ui_029_multi_indetification/tuceng382.png" id="14_qoq36"]
|
||||
[ext_resource type="Texture2D" uid="uid://b8m3cgd6bbe5v" path="res://res/ui/ui_029_multi_indetification/yuanjiaojuxing910_1.png" id="15_1ouxl"]
|
||||
@ -41,6 +43,43 @@ texture_margin_top = 71.7409
|
||||
texture_margin_right = 55.6358
|
||||
texture_margin_bottom = 61.4922
|
||||
|
||||
[sub_resource type="Animation" id="Animation_pblpl"]
|
||||
resource_name = "show_text"
|
||||
length = 0.5
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("MarginContainer/HBoxContainer/VBoxContainer2/TextureRect/introduction_panel/introduction_label:visible_ratio")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, 1.0]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ir5bc"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("MarginContainer/HBoxContainer/VBoxContainer2/TextureRect/introduction_panel/introduction_label:visible_ratio")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [0.0]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_aavuy"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_ir5bc"),
|
||||
"show_text": SubResource("Animation_pblpl")
|
||||
}
|
||||
|
||||
[node name="multi_indetification" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@ -48,6 +87,7 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_wgdh4")
|
||||
|
||||
[node name="background" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
@ -84,7 +124,7 @@ theme_override_constants/separation = 55
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 0
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer"]
|
||||
@ -112,7 +152,8 @@ horizontal_alignment = 2
|
||||
vertical_alignment = 1
|
||||
justification_flags = 162
|
||||
|
||||
[node name="Label2" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer/TextureRect/HBoxContainer"]
|
||||
[node name="strenth" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer/TextureRect/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
@ -121,12 +162,27 @@ theme_override_font_sizes/font_size = 34
|
||||
text = "100"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer"]
|
||||
[node name="left_texture_panel" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
texture = ExtResource("3_g70pk")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer/TextureRect2"]
|
||||
[node name="mask" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer/left_texture_panel"]
|
||||
show_behind_parent = true
|
||||
clip_children = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("4_8bpsr")
|
||||
expand_mode = 1
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="left_texture" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer/left_texture_panel/mask"]
|
||||
unique_name_in_owner = true
|
||||
show_behind_parent = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@ -135,18 +191,21 @@ anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("4_8bpsr")
|
||||
expand_mode = 1
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer"]
|
||||
[node name="left_value_panel" type="VBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 0
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 42
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer2"]
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer/left_value_panel"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
texture = ExtResource("5_h2qq0")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer2/TextureRect"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/VBoxContainer/left_value_panel/TextureRect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@ -158,32 +217,34 @@ theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="TextureProgressBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer2/TextureRect/MarginContainer"]
|
||||
[node name="left_cost_bar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer/VBoxContainer/left_value_panel/TextureRect/MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
value = 100.0
|
||||
nine_patch_stretch = true
|
||||
texture_progress = ExtResource("6_nvy72")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer2/TextureRect/MarginContainer"]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer/left_value_panel/TextureRect/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer2/TextureRect/MarginContainer/HBoxContainer"]
|
||||
[node name="left_cost_name" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/left_value_panel/TextureRect/MarginContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 29
|
||||
text = "消耗值:"
|
||||
|
||||
[node name="Label2" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer2/TextureRect/MarginContainer/HBoxContainer"]
|
||||
[node name="left_cost_value" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/left_value_panel/TextureRect/MarginContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 29
|
||||
text = "5"
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer2"]
|
||||
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer/left_value_panel"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
texture = ExtResource("5_h2qq0")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer2/TextureRect2"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/VBoxContainer/left_value_panel/TextureRect2"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@ -195,33 +256,38 @@ theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="TextureProgressBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer2/TextureRect2/MarginContainer"]
|
||||
[node name="left_total_bar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer/VBoxContainer/left_value_panel/TextureRect2/MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
value = 100.0
|
||||
nine_patch_stretch = true
|
||||
texture_progress = ExtResource("6_nvy72")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer2/TextureRect2/MarginContainer"]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer/left_value_panel/TextureRect2/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer2/TextureRect2/MarginContainer/HBoxContainer"]
|
||||
[node name="left_total_name" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/left_value_panel/TextureRect2/MarginContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 29
|
||||
text = "累计值:"
|
||||
|
||||
[node name="Label2" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer2/TextureRect2/MarginContainer/HBoxContainer"]
|
||||
[node name="left_total_value" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/left_value_panel/TextureRect2/MarginContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 29
|
||||
text = "5"
|
||||
|
||||
[node name="Panel" type="Panel" parent="MarginContainer/HBoxContainer/VBoxContainer"]
|
||||
[node name="result_panel" type="Panel" parent="MarginContainer/HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
size_flags_stretch_ratio = 10.1
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_egxls")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer/Panel"]
|
||||
[node name="result_btn_texture" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer/result_panel"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.843
|
||||
@ -236,20 +302,23 @@ grow_horizontal = 0
|
||||
texture = ExtResource("8_rbp2v")
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/Panel"]
|
||||
[node name="result_button" parent="MarginContainer/HBoxContainer/VBoxContainer/result_panel/result_btn_texture" instance=ExtResource("13_v55ld")]
|
||||
layout_mode = 1
|
||||
|
||||
[node name="result_label" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/result_panel"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
anchor_left = 0.338785
|
||||
anchor_top = 0.142433
|
||||
anchor_right = 0.693925
|
||||
anchor_bottom = 0.347181
|
||||
theme_override_colors/font_color = Color(2.26215e-06, 0.734847, 0.255574, 1)
|
||||
theme_override_colors/font_color = Color(0, 1, 0, 1)
|
||||
theme_override_font_sizes/font_size = 42
|
||||
text = "成功"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Label3" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/Panel"]
|
||||
[node name="Label3" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/result_panel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.186916
|
||||
@ -263,12 +332,13 @@ horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Label4" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/Panel"]
|
||||
[node name="indetification_attribute_name" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/result_panel"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.186916
|
||||
anchor_left = 0.185819
|
||||
anchor_top = 0.679525
|
||||
anchor_right = 0.635514
|
||||
anchor_right = 0.535452
|
||||
anchor_bottom = 0.813056
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "鉴定值:"
|
||||
@ -276,7 +346,8 @@ horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Label2" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/Panel"]
|
||||
[node name="identification_difficulty" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/result_panel"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.635514
|
||||
@ -290,7 +361,8 @@ horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Label5" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/Panel"]
|
||||
[node name="indetification_value" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer/result_panel"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.535047
|
||||
@ -333,7 +405,8 @@ patch_margin_top = 80
|
||||
patch_margin_right = 80
|
||||
patch_margin_bottom = 80
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer2/TextureRect/TextureRect"]
|
||||
[node name="center_texture" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer2/TextureRect/TextureRect"]
|
||||
unique_name_in_owner = true
|
||||
show_behind_parent = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@ -345,7 +418,8 @@ texture = ExtResource("10_0lrsp")
|
||||
expand_mode = 1
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="Panel" type="Panel" parent="MarginContainer/HBoxContainer/VBoxContainer2/TextureRect"]
|
||||
[node name="introduction_panel" type="Panel" parent="MarginContainer/HBoxContainer/VBoxContainer2/TextureRect"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
anchor_left = -0.0462487
|
||||
anchor_top = 0.723709
|
||||
@ -355,7 +429,8 @@ offset_right = 6.10352e-05
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_bpyed")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer2/TextureRect/Panel"]
|
||||
[node name="introduction_btn_texture" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer2/TextureRect/introduction_panel"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.913453
|
||||
@ -369,7 +444,11 @@ texture = ExtResource("12_bey2h")
|
||||
stretch_mode = 5
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer2/TextureRect/Panel"]
|
||||
[node name="introduction_visible" parent="MarginContainer/HBoxContainer/VBoxContainer2/TextureRect/introduction_panel/introduction_btn_texture" instance=ExtResource("13_v55ld")]
|
||||
layout_mode = 1
|
||||
|
||||
[node name="introduction_title" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer2/TextureRect/introduction_panel"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
anchor_left = 0.118532
|
||||
anchor_top = 0.145985
|
||||
@ -381,7 +460,8 @@ horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Label2" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer2/TextureRect/Panel"]
|
||||
[node name="introduction_label" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer2/TextureRect/introduction_panel"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.118532
|
||||
@ -391,6 +471,8 @@ anchor_bottom = 0.927007
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述事件概述"
|
||||
autowrap_mode = 3
|
||||
visible_characters = 0
|
||||
visible_ratio = 0.0
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="VBoxContainer3" type="VBoxContainer" parent="MarginContainer/HBoxContainer"]
|
||||
@ -410,7 +492,8 @@ size_flags_horizontal = 4
|
||||
size_flags_vertical = 0
|
||||
texture = ExtResource("13_xkwp7")
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer/TextureRect"]
|
||||
[node name="date" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer/TextureRect"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@ -423,12 +506,27 @@ text = "1999/12/12"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer"]
|
||||
[node name="right_texture_panel" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
texture = ExtResource("3_g70pk")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer/TextureRect2"]
|
||||
[node name="mask" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer/right_texture_panel"]
|
||||
show_behind_parent = true
|
||||
clip_children = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("14_qoq36")
|
||||
expand_mode = 1
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="right_texture" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer/right_texture_panel/mask"]
|
||||
unique_name_in_owner = true
|
||||
show_behind_parent = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@ -437,18 +535,21 @@ anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("14_qoq36")
|
||||
expand_mode = 1
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer3"]
|
||||
[node name="right_value_panel" type="VBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer3"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 0
|
||||
theme_override_constants/separation = 42
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer2"]
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer3/right_value_panel"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
texture = ExtResource("5_h2qq0")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer2/TextureRect"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/VBoxContainer3/right_value_panel/TextureRect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@ -460,32 +561,35 @@ theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="TextureProgressBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer2/TextureRect/MarginContainer"]
|
||||
[node name="right_cost_bar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer/VBoxContainer3/right_value_panel/TextureRect/MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
value = 100.0
|
||||
nine_patch_stretch = true
|
||||
texture_progress = ExtResource("15_1ouxl")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer2/TextureRect/MarginContainer"]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer3/right_value_panel/TextureRect/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer2/TextureRect/MarginContainer/HBoxContainer"]
|
||||
[node name="right_cost_name" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer3/right_value_panel/TextureRect/MarginContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 29
|
||||
text = "消耗值:"
|
||||
|
||||
[node name="Label2" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer2/TextureRect/MarginContainer/HBoxContainer"]
|
||||
[node name="right_cost_value" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer3/right_value_panel/TextureRect/MarginContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 29
|
||||
text = "5"
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer2"]
|
||||
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer3/right_value_panel"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
texture = ExtResource("5_h2qq0")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer2/TextureRect2"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/VBoxContainer3/right_value_panel/TextureRect2"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@ -497,22 +601,25 @@ theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="TextureProgressBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer2/TextureRect2/MarginContainer"]
|
||||
[node name="right_total_bar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer/VBoxContainer3/right_value_panel/TextureRect2/MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
value = 100.0
|
||||
nine_patch_stretch = true
|
||||
texture_progress = ExtResource("15_1ouxl")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer2/TextureRect2/MarginContainer"]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer3/right_value_panel/TextureRect2/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer2/TextureRect2/MarginContainer/HBoxContainer"]
|
||||
[node name="right_total_name" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer3/right_value_panel/TextureRect2/MarginContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 29
|
||||
text = "累计值:"
|
||||
|
||||
[node name="Label2" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer3/VBoxContainer2/TextureRect2/MarginContainer/HBoxContainer"]
|
||||
[node name="right_total_value" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer3/right_value_panel/TextureRect2/MarginContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 29
|
||||
text = "5"
|
||||
@ -533,17 +640,27 @@ horizontal_scroll_mode = 0
|
||||
vertical_scroll_mode = 3
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer3/Panel/VBoxContainer"]
|
||||
[node name="choice_add_pos" type="VBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer3/Panel/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 0
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="multi_indetification_choice" parent="MarginContainer/HBoxContainer/VBoxContainer3/Panel/VBoxContainer/VBoxContainer" instance=ExtResource("17_01sxh")]
|
||||
[node name="multi_indetification_choice" parent="MarginContainer/HBoxContainer/VBoxContainer3/Panel/VBoxContainer/choice_add_pos" instance=ExtResource("17_01sxh")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="multi_indetification_choice2" parent="MarginContainer/HBoxContainer/VBoxContainer3/Panel/VBoxContainer/VBoxContainer" instance=ExtResource("17_01sxh")]
|
||||
[node name="multi_indetification_choice2" parent="MarginContainer/HBoxContainer/VBoxContainer3/Panel/VBoxContainer/choice_add_pos" instance=ExtResource("17_01sxh")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="multi_indetification_choice3" parent="MarginContainer/HBoxContainer/VBoxContainer3/Panel/VBoxContainer/VBoxContainer" instance=ExtResource("17_01sxh")]
|
||||
[node name="multi_indetification_choice3" parent="MarginContainer/HBoxContainer/VBoxContainer3/Panel/VBoxContainer/choice_add_pos" instance=ExtResource("17_01sxh")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_aavuy")
|
||||
}
|
||||
|
||||
[connection signal="pressed" from="MarginContainer/HBoxContainer/VBoxContainer/result_panel/result_btn_texture/result_button" to="." method="_on_result_button_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/HBoxContainer/VBoxContainer2/TextureRect/introduction_panel/introduction_btn_texture/introduction_visible" to="." method="_on_introduction_visible_pressed"]
|
||||
|
9
scene/multi_indetification_choice.gd
Normal file
9
scene/multi_indetification_choice.gd
Normal file
@ -0,0 +1,9 @@
|
||||
extends NinePatchRect
|
||||
signal click
|
||||
func set_text(text:String):
|
||||
$Label.text=text
|
||||
|
||||
|
||||
func _on_tool_button_pressed() -> void:
|
||||
click.emit()
|
||||
pass # Replace with function body.
|
@ -1,6 +1,8 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://do26imnel1q2y"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://do26imnel1q2y"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c4j4v5em8lqd3" path="res://res/ui/ui_029_multi_indetification/tuceng391.png" id="1_sv2m1"]
|
||||
[ext_resource type="Script" path="res://scene/multi_indetification_choice.gd" id="2_88ypc"]
|
||||
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="3_1cwif"]
|
||||
|
||||
[node name="multi_indetification_choice" type="NinePatchRect"]
|
||||
custom_minimum_size = Vector2(0, 68)
|
||||
@ -12,6 +14,7 @@ patch_margin_left = 159
|
||||
patch_margin_top = 13
|
||||
patch_margin_right = 157
|
||||
patch_margin_bottom = 14
|
||||
script = ExtResource("2_88ypc")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
@ -23,3 +26,8 @@ grow_vertical = 2
|
||||
text = "选项一"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ToolButton" parent="." instance=ExtResource("3_1cwif")]
|
||||
layout_mode = 1
|
||||
|
||||
[connection signal="pressed" from="ToolButton" to="." method="_on_tool_button_pressed"]
|
||||
|
9
scene/single_identification.gd
Normal file
9
scene/single_identification.gd
Normal file
@ -0,0 +1,9 @@
|
||||
extends Control
|
||||
var data:Dictionary
|
||||
func set_data(_data:Dictionary):
|
||||
data=_data
|
||||
if data["type"]==1:
|
||||
%multi_indetification.set_data(data)
|
||||
%multi_indetification.show()
|
||||
else:
|
||||
pass
|
@ -1,5 +1,6 @@
|
||||
[gd_scene load_steps=18 format=3 uid="uid://mcf2riinvukc"]
|
||||
[gd_scene load_steps=20 format=3 uid="uid://mcf2riinvukc"]
|
||||
|
||||
[ext_resource type="Script" path="res://scene/single_identification.gd" id="1_kaw2b"]
|
||||
[ext_resource type="Texture2D" uid="uid://bchvegwghynrm" path="res://res/ui/ui_002_main/tuceng1.png" id="1_lrfk0"]
|
||||
[ext_resource type="Texture2D" uid="uid://wc3yoxb1yg0m" path="res://res/ui/ui_027_single_identification/tuceng328.png" id="2_is720"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwje57tlgo16q" path="res://res/ui/ui_027_single_identification/tuceng334.png" id="3_22rov"]
|
||||
@ -13,6 +14,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://dqblinc483656" path="res://res/ui/ui_028_multi_indetification_pre/yuanjiaojuxing986.png" id="10_g75hy"]
|
||||
[ext_resource type="Texture2D" uid="uid://dayrdgr2hgamx" path="res://res/ui/ui_028_multi_indetification_pre/yuanjiaojuxing901.png" id="11_dj8rc"]
|
||||
[ext_resource type="PackedScene" uid="uid://2n4wq8llgbib" path="res://scene/single_identification_card.tscn" id="11_qtaae"]
|
||||
[ext_resource type="PackedScene" uid="uid://cya850fofki0o" path="res://scene/multi_indetification.tscn" id="14_yjjpp"]
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_meexh"]
|
||||
texture = ExtResource("2_is720")
|
||||
@ -49,6 +51,7 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_kaw2b")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
@ -336,3 +339,8 @@ layout_mode = 2
|
||||
|
||||
[node name="single_identification_card7" parent="Panel2/HBoxContainer" instance=ExtResource("11_qtaae")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="multi_indetification" parent="." instance=ExtResource("14_yjjpp")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
|
BIN
test/texture/fish_fail.jpg
Normal file
BIN
test/texture/fish_fail.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 101 KiB |
34
test/texture/fish_fail.jpg.import
Normal file
34
test/texture/fish_fail.jpg.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cvc3t88frlwb"
|
||||
path="res://.godot/imported/fish_fail.jpg-4b7e8e398e1775aaf00e1a0ac9d97aab.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://test/texture/fish_fail.jpg"
|
||||
dest_files=["res://.godot/imported/fish_fail.jpg-4b7e8e398e1775aaf00e1a0ac9d97aab.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
|
BIN
test/texture/fish_preview.jpg
Normal file
BIN
test/texture/fish_preview.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 239 KiB |
34
test/texture/fish_preview.jpg.import
Normal file
34
test/texture/fish_preview.jpg.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://272huwkc4a2l"
|
||||
path="res://.godot/imported/fish_preview.jpg-6457f81afb1d20005144b6b909430081.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://test/texture/fish_preview.jpg"
|
||||
dest_files=["res://.godot/imported/fish_preview.jpg-6457f81afb1d20005144b6b909430081.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
|
BIN
test/texture/fish_success.jpg
Normal file
BIN
test/texture/fish_success.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
34
test/texture/fish_success.jpg.import
Normal file
34
test/texture/fish_success.jpg.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://df0s2r7b67b7l"
|
||||
path="res://.godot/imported/fish_success.jpg-44a5919348f5db5e108ddbb7c6a61c43.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://test/texture/fish_success.jpg"
|
||||
dest_files=["res://.godot/imported/fish_success.jpg-44a5919348f5db5e108ddbb7c6a61c43.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
|
BIN
test/texture/rod.jpg
Normal file
BIN
test/texture/rod.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 132 KiB |
34
test/texture/rod.jpg.import
Normal file
34
test/texture/rod.jpg.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bqhccygfudj48"
|
||||
path="res://.godot/imported/rod.jpg-b6a767148c4da420cbc1bf33f523671a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://test/texture/rod.jpg"
|
||||
dest_files=["res://.godot/imported/rod.jpg-b6a767148c4da420cbc1bf33f523671a.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
|
Loading…
Reference in New Issue
Block a user