diff --git a/res/shader/gaussian_blur.gdshader b/res/shader/gaussian_blur.gdshader new file mode 100644 index 0000000..53f7ffb --- /dev/null +++ b/res/shader/gaussian_blur.gdshader @@ -0,0 +1,46 @@ +shader_type canvas_item; +uniform float Fuzziness = 5; + +float normpdf(in float x, in float sigma){ + return 0.39894*exp(-.5*x*x/(sigma*sigma))/sigma; +} + +uniform float radius : hint_range(0.0, 1.0) = 0.0; +uniform vec2 size = vec2(1.0, 1.0); +uniform bool cool = false; + + + + + +vec4 gaussian_blur(sampler2D src, vec2 size_gb, vec2 uv, int m_size){ + vec4 cc = texture(src, uv); + vec3 c = cc.rgb; + int k_size = (m_size-1)/2; + float sigma = 7.; + vec3 final_color = vec3(0.); + float z = 0.; + for(int i=-k_size;i<=k_size;i++){ + float n = normpdf(float(i), sigma); + z+=n; + for(int j=-k_size;j<=k_size;j++){ + final_color+=n*n*texture(src,uv+(size_gb*Fuzziness)*vec2(float(i),float(j))).rgb; + } + } + return vec4(final_color/z/z,1.); +} + +void fragment(){ + if (cool == false ){ + COLOR = texture(TEXTURE, UV); + } + + vec2 size_ratio = vec2(max(1.0, size.x / size.y), max(1.0, size.y / size.x)); + float half_radius = 0.5 * radius; + vec2 dist_max = half_radius / size_ratio; + vec2 edge_pos = clamp(UV, dist_max, 1.0 - dist_max); + float edge_dist = distance(UV * size_ratio, edge_pos * size_ratio); + + COLOR = gaussian_blur(TEXTURE ,TEXTURE_PIXEL_SIZE ,UV , 20); + COLOR.a *= step(edge_dist, half_radius + 0.000001); +} \ No newline at end of file diff --git a/res/shader/mask.gdshader b/res/shader/mask.gdshader new file mode 100644 index 0000000..46c9eff --- /dev/null +++ b/res/shader/mask.gdshader @@ -0,0 +1,42 @@ +shader_type canvas_item; + +uniform sampler2D texture; +uniform float time; +uniform vec2 resolution; +uniform vec4 dissolveColor; // Controllo del colore e della trasparenza dell'effetto di dissolvenza +uniform float circleSize; // Controllo sulla grandezza del cerchio +uniform sampler2D hologramTexture; +uniform float maxR = .5; +uniform float smoothness = .5; +uniform float displayRatio =1.7; +void fragment() { + // normalized configurable factors +// float maxR = .5; + + float minR = maxR * (1.0 - smoothness); + vec2 centerUv = vec2(0.5, 0.5); + + + + // just to play animation + + + // Normalized pixel coordinates (from 0 to 1) + vec2 uv = UV; + vec2 duv = uv; + duv.x *= displayRatio; + centerUv.x *= displayRatio; + + vec3 col = texture(texture, uv).rgb; + float dist = length(centerUv - duv); + COLOR.a = 0.; + if (dist > maxR) { + COLOR = vec4(0.0, 0.0, 0.0, 1.0); + } + + if (maxR > dist && dist > minR) { + col = mix(col, vec3(0.0, 0.0, 0.0), smoothstep(minR/maxR,1.0,dist/maxR)); + } + + // COLOR = vec4(col,1.0); +} \ No newline at end of file diff --git a/res/ui/ui_006_special_ability/panel.tres b/res/ui/ui_006_special_ability/panel.tres new file mode 100644 index 0000000..a0924b3 --- /dev/null +++ b/res/ui/ui_006_special_ability/panel.tres @@ -0,0 +1,6 @@ +[gd_resource type="StyleBoxTexture" load_steps=2 format=3 uid="uid://8q5lafq5crxi"] + +[ext_resource type="Texture2D" uid="uid://duej6jo0puq2s" path="res://res/ui/ui_006_special_ability/图层118.png" id="1_hj0xd"] + +[resource] +texture = ExtResource("1_hj0xd") diff --git a/res/ui/ui_006_special_ability/图层118.png b/res/ui/ui_006_special_ability/图层118.png new file mode 100644 index 0000000..206355e Binary files /dev/null and b/res/ui/ui_006_special_ability/图层118.png differ diff --git a/res/ui/ui_006_special_ability/图层118.png.import b/res/ui/ui_006_special_ability/图层118.png.import new file mode 100644 index 0000000..22a13d3 --- /dev/null +++ b/res/ui/ui_006_special_ability/图层118.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://duej6jo0puq2s" +path="res://.godot/imported/图层118.png-350d57d6d5390bbb73634cd046217fa6.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/ui_006_special_ability/图层118.png" +dest_files=["res://.godot/imported/图层118.png-350d57d6d5390bbb73634cd046217fa6.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 diff --git a/res/ui/ui_006_special_ability/图层125.png b/res/ui/ui_006_special_ability/图层125.png new file mode 100644 index 0000000..8ac653b Binary files /dev/null and b/res/ui/ui_006_special_ability/图层125.png differ diff --git a/res/ui/ui_006_special_ability/图层125.png.import b/res/ui/ui_006_special_ability/图层125.png.import new file mode 100644 index 0000000..fd31fee --- /dev/null +++ b/res/ui/ui_006_special_ability/图层125.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d38grwcxuro4m" +path="res://.godot/imported/图层125.png-4475d54a3f39c13d0472527c03ee172c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/ui_006_special_ability/图层125.png" +dest_files=["res://.godot/imported/图层125.png-4475d54a3f39c13d0472527c03ee172c.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 diff --git a/res/ui/ui_006_special_ability/图层126.png b/res/ui/ui_006_special_ability/图层126.png new file mode 100644 index 0000000..d0eba4a Binary files /dev/null and b/res/ui/ui_006_special_ability/图层126.png differ diff --git a/res/ui/ui_006_special_ability/图层126.png.import b/res/ui/ui_006_special_ability/图层126.png.import new file mode 100644 index 0000000..22723a8 --- /dev/null +++ b/res/ui/ui_006_special_ability/图层126.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bbxjo41itbu2" +path="res://.godot/imported/图层126.png-414d5fdc9e639a4f29590c42ed278f36.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/ui_006_special_ability/图层126.png" +dest_files=["res://.godot/imported/图层126.png-414d5fdc9e639a4f29590c42ed278f36.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 diff --git a/res/ui/ui_006_special_ability/图层137.png b/res/ui/ui_006_special_ability/图层137.png new file mode 100644 index 0000000..931eb9e Binary files /dev/null and b/res/ui/ui_006_special_ability/图层137.png differ diff --git a/res/ui/ui_006_special_ability/图层137.png.import b/res/ui/ui_006_special_ability/图层137.png.import new file mode 100644 index 0000000..8e9518a --- /dev/null +++ b/res/ui/ui_006_special_ability/图层137.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cup7twtrpwa5x" +path="res://.godot/imported/图层137.png-db910cd3d62c8da29de2f2e7fcd97041.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/ui_006_special_ability/图层137.png" +dest_files=["res://.godot/imported/图层137.png-db910cd3d62c8da29de2f2e7fcd97041.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 diff --git a/res/ui/ui_006_special_ability/图层138.png b/res/ui/ui_006_special_ability/图层138.png new file mode 100644 index 0000000..5f0c449 Binary files /dev/null and b/res/ui/ui_006_special_ability/图层138.png differ diff --git a/res/ui/ui_006_special_ability/图层138.png.import b/res/ui/ui_006_special_ability/图层138.png.import new file mode 100644 index 0000000..1a79b1e --- /dev/null +++ b/res/ui/ui_006_special_ability/图层138.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://3csn5f230iec" +path="res://.godot/imported/图层138.png-6d9b75b2449a12d014c5fda78669a6bd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/ui_006_special_ability/图层138.png" +dest_files=["res://.godot/imported/图层138.png-6d9b75b2449a12d014c5fda78669a6bd.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 diff --git a/res/ui/ui_006_special_ability/图层143.png b/res/ui/ui_006_special_ability/图层143.png new file mode 100644 index 0000000..f5fe46b Binary files /dev/null and b/res/ui/ui_006_special_ability/图层143.png differ diff --git a/res/ui/ui_006_special_ability/图层143.png.import b/res/ui/ui_006_special_ability/图层143.png.import new file mode 100644 index 0000000..9df1d3b --- /dev/null +++ b/res/ui/ui_006_special_ability/图层143.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bt8qfu8dsd5n2" +path="res://.godot/imported/图层143.png-167f0d9aaf810030eacf9b7482ef1365.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/ui_006_special_ability/图层143.png" +dest_files=["res://.godot/imported/图层143.png-167f0d9aaf810030eacf9b7482ef1365.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 diff --git a/res/ui/ui_006_special_ability/图层174.png b/res/ui/ui_006_special_ability/图层174.png new file mode 100644 index 0000000..a806e2c Binary files /dev/null and b/res/ui/ui_006_special_ability/图层174.png differ diff --git a/res/ui/ui_006_special_ability/图层174.png.import b/res/ui/ui_006_special_ability/图层174.png.import new file mode 100644 index 0000000..990c38a --- /dev/null +++ b/res/ui/ui_006_special_ability/图层174.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cyijswoxpmuvt" +path="res://.godot/imported/图层174.png-434b2e3039a3c171963c82581c83f4bf.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/ui_006_special_ability/图层174.png" +dest_files=["res://.godot/imported/图层174.png-434b2e3039a3c171963c82581c83f4bf.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 diff --git a/res/ui/ui_006_special_ability/图层230.png b/res/ui/ui_006_special_ability/图层230.png new file mode 100644 index 0000000..3ce6d8d Binary files /dev/null and b/res/ui/ui_006_special_ability/图层230.png differ diff --git a/res/ui/ui_006_special_ability/图层230.png.import b/res/ui/ui_006_special_ability/图层230.png.import new file mode 100644 index 0000000..52e115e --- /dev/null +++ b/res/ui/ui_006_special_ability/图层230.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dg480s6q1t6by" +path="res://.godot/imported/图层230.png-b9e9f4cc2174c81fe2878d16373cb150.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/ui_006_special_ability/图层230.png" +dest_files=["res://.godot/imported/图层230.png-b9e9f4cc2174c81fe2878d16373cb150.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 diff --git a/res/ui/ui_006_special_ability/圆角矩形 4.png b/res/ui/ui_006_special_ability/圆角矩形 4.png new file mode 100644 index 0000000..82382b4 Binary files /dev/null and b/res/ui/ui_006_special_ability/圆角矩形 4.png differ diff --git a/res/ui/ui_006_special_ability/圆角矩形 4.png.import b/res/ui/ui_006_special_ability/圆角矩形 4.png.import new file mode 100644 index 0000000..47f52f1 --- /dev/null +++ b/res/ui/ui_006_special_ability/圆角矩形 4.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://byn884lrilmrt" +path="res://.godot/imported/圆角矩形 4.png-727217c1f47663d0ced2b330b0a877db.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/ui_006_special_ability/圆角矩形 4.png" +dest_files=["res://.godot/imported/圆角矩形 4.png-727217c1f47663d0ced2b330b0a877db.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 diff --git a/scene/ability_button.gd b/scene/ability_button.gd new file mode 100644 index 0000000..80cc2fa --- /dev/null +++ b/scene/ability_button.gd @@ -0,0 +1,21 @@ +extends Button +var show_mes:String="" + +# 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_button_down() -> void: + modulate=Color(0.5,0.5,0.5,1) + pass # Replace with function body. + + +func _on_button_up() -> void: + modulate=Color(1,1,1,1) + pass # Replace with function body. diff --git a/scene/ability_button.tscn b/scene/ability_button.tscn new file mode 100644 index 0000000..9161725 --- /dev/null +++ b/scene/ability_button.tscn @@ -0,0 +1,32 @@ +[gd_scene load_steps=5 format=3 uid="uid://dh00ritpv7tru"] + +[ext_resource type="Texture2D" uid="uid://bt8qfu8dsd5n2" path="res://res/ui/ui_006_special_ability/图层143.png" id="1_s6y2q"] +[ext_resource type="Script" path="res://scene/ability_button.gd" id="2_owp7v"] +[ext_resource type="Texture2D" uid="uid://byn884lrilmrt" path="res://res/ui/ui_006_special_ability/圆角矩形 4.png" id="3_q82nx"] + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_hqj84"] +texture = ExtResource("3_q82nx") +texture_margin_left = 7.0 +texture_margin_top = 7.0 +texture_margin_right = 12.0 +texture_margin_bottom = 13.0 + +[node name="TextureRect" type="Button"] +custom_minimum_size = Vector2(230, 58) +anchors_preset = -1 +anchor_right = 0.119792 +anchor_bottom = 0.0537037 +tooltip_text = "kkkkkk" +icon = ExtResource("1_s6y2q") +flat = true +icon_alignment = 1 +expand_icon = true +script = ExtResource("2_owp7v") +metadata/_edit_use_anchors_ = true + +[node name="PopupPanel" type="PopupPanel" parent="."] +visible = true +theme_override_styles/panel = SubResource("StyleBoxTexture_hqj84") + +[connection signal="button_down" from="." to="." method="_on_button_down"] +[connection signal="button_up" from="." to="." method="_on_button_up"] diff --git a/scene/basic_message.tscn b/scene/basic_message.tscn index 6ff5311..a31834a 100644 --- a/scene/basic_message.tscn +++ b/scene/basic_message.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=17 format=3 uid="uid://chh7gr3qbkr8u"] +[gd_scene load_steps=23 format=3 uid="uid://chh7gr3qbkr8u"] [ext_resource type="Texture2D" uid="uid://dygka5vk5qdhs" path="res://res/ui/ui_005_basic_message/图层 2.png" id="1_vhe21"] [ext_resource type="Texture2D" uid="uid://vbtkrk0b8c3u" path="res://res/ui/ui_005_basic_message/图层97.png" id="2_u0tfq"] @@ -8,6 +8,12 @@ [ext_resource type="Texture2D" uid="uid://c6ftnvo1gl1o7" path="res://res/ui/ui_005_basic_message/图层127.png" id="6_s8ry1"] [ext_resource type="Texture2D" uid="uid://djaebws5opaql" path="res://res/ui/ui_005_basic_message/图层95.png" id="7_a1x8x"] [ext_resource type="Texture2D" uid="uid://x063sguqi6g6" path="res://res/ui/ui_005_basic_message/图层93.png" id="8_bo3jh"] +[ext_resource type="Texture2D" uid="uid://byjpm2savyf63" path="res://res/ui/ui_005_basic_message/图层132.png" id="9_3w85f"] +[ext_resource type="Texture2D" uid="uid://bjfkp3bcw7rjj" path="res://res/ui/ui_005_basic_message/图层 1.png" id="10_4vfh3"] +[ext_resource type="Texture2D" uid="uid://b0hc28s0y5c0q" path="res://res/ui/ui_005_basic_message/图层89.png" id="11_pelkm"] +[ext_resource type="StyleBox" uid="uid://8q5lafq5crxi" path="res://res/ui/ui_006_special_ability/panel.tres" id="11_vvy03"] +[ext_resource type="Texture2D" uid="uid://d38grwcxuro4m" path="res://res/ui/ui_006_special_ability/图层125.png" id="12_yd5na"] +[ext_resource type="Texture2D" uid="uid://cup7twtrpwa5x" path="res://res/ui/ui_006_special_ability/图层137.png" id="13_rxt5d"] [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_7cm0j"] texture = ExtResource("2_u0tfq") @@ -78,21 +84,28 @@ layout_mode = 2 size_flags_horizontal = 3 [node name="character" type="TextureRect" parent="."] -layout_mode = 0 -anchor_left = 0.191146 -anchor_top = 0.0953704 -anchor_right = 0.46875 +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.33 +anchor_top = 1.0 +anchor_right = 0.33 anchor_bottom = 1.0 +offset_left = -266.6 +offset_top = -977.0 +offset_right = 266.4 expand_mode = 1 -stretch_mode = 5 +stretch_mode = 3 metadata/_edit_use_anchors_ = true [node name="texture" type="TextureRect" parent="."] -layout_mode = 0 +layout_mode = 1 +anchors_preset = -1 anchor_left = 0.1375 anchor_top = 0.0444444 -anchor_right = 0.323958 -anchor_bottom = 0.126852 +anchor_right = 0.1375 +anchor_bottom = 0.0444444 +offset_right = 357.999 +offset_bottom = 89.0002 texture = ExtResource("3_5dvp4") metadata/_edit_use_anchors_ = true @@ -253,20 +266,21 @@ layout_mode = 2 size_flags_vertical = 3 size_flags_stretch_ratio = 939.0 theme_override_styles/panel = SubResource("StyleBoxEmpty_81i7t") -current_tab = 0 +current_tab = 1 clip_tabs = false tabs_visible = false -[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/TabContainer"] +[node name="basic_mes" type="MarginContainer" parent="VBoxContainer/TabContainer"] +visible = false layout_mode = 2 theme_override_constants/margin_right = 19 theme_override_constants/margin_bottom = 43 metadata/_tab_index = 0 -[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/MarginContainer"] +[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/basic_mes"] layout_mode = 2 -[node name="texture" type="TextureRect" parent="VBoxContainer/TabContainer/MarginContainer/VBoxContainer"] +[node name="texture" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer"] custom_minimum_size = Vector2(996, 0) layout_mode = 2 size_flags_horizontal = 8 @@ -274,7 +288,108 @@ size_flags_vertical = 3 size_flags_stretch_ratio = 110.0 texture = ExtResource("6_s8ry1") -[node name="Panel" type="Panel" parent="VBoxContainer/TabContainer/MarginContainer/VBoxContainer"] +[node name="category" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/texture"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.00200803 +anchor_right = 0.10743 +anchor_bottom = 0.981818 +theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_font_sizes/font_size = 36 +text = "剧本类别" +horizontal_alignment = 1 +vertical_alignment = 1 +autowrap_mode = 3 +metadata/_edit_use_anchors_ = true + +[node name="place_label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/texture"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.128514 +anchor_top = 0.236364 +anchor_right = 0.197791 +anchor_bottom = 0.527273 +theme_override_font_sizes/font_size = 24 +text = "地点" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="place" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/texture"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.197791 +anchor_top = 0.236364 +anchor_right = 0.349398 +anchor_bottom = 0.545455 +theme_override_font_sizes/font_size = 24 +text = "地点" +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="sex_texture" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/texture"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.367 +anchor_top = 0.045 +anchor_right = 0.504 +anchor_bottom = 0.764 +offset_left = 0.467987 +offset_top = 0.0499997 +offset_right = 0.0159912 +offset_bottom = -0.0400085 +expand_mode = 1 +stretch_mode = 5 + +[node name="race_label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/texture"] +layout_mode = 0 +anchor_left = 0.519076 +anchor_top = 0.209091 +anchor_right = 0.590361 +anchor_bottom = 0.518182 +theme_override_font_sizes/font_size = 24 +text = "种族" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="race" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/texture"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.590362 +anchor_top = 0.209091 +anchor_right = 0.70984 +anchor_bottom = 0.518182 +theme_override_font_sizes/font_size = 24 +text = "种族" +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="birthday_label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/texture"] +layout_mode = 0 +anchor_left = 0.756024 +anchor_top = 0.245455 +anchor_right = 0.816265 +anchor_bottom = 0.527273 +theme_override_font_sizes/font_size = 24 +text = "生日" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="birthday" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/texture"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.816265 +anchor_top = 0.245455 +anchor_right = 0.962852 +anchor_bottom = 0.554546 +theme_override_font_sizes/font_size = 24 +text = "xxxx-xx-xx" +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Panel" type="Panel" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer"] custom_minimum_size = Vector2(942, 0) layout_mode = 2 size_flags_horizontal = 8 @@ -282,7 +397,7 @@ size_flags_vertical = 3 size_flags_stretch_ratio = 186.0 theme_override_styles/panel = SubResource("StyleBoxTexture_e8md5") -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/MarginContainer/VBoxContainer/Panel"] +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel"] layout_mode = 0 anchor_left = 0.0191083 anchor_top = 0.0928962 @@ -295,23 +410,813 @@ horizontal_alignment = 1 vertical_alignment = 1 metadata/_edit_use_anchors_ = true -[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/MarginContainer/VBoxContainer/Panel"] +[node name="introduction" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel"] layout_mode = 0 anchor_left = 0.150743 anchor_top = 0.15847 anchor_right = 0.960722 anchor_bottom = 0.819672 +theme_override_constants/line_spacing = 7 +theme_override_font_sizes/font_size = 25 +text = "人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物简介人物" +autowrap_mode = 3 metadata/_edit_use_anchors_ = true -[node name="tab" type="Control" parent="VBoxContainer/TabContainer/MarginContainer/VBoxContainer"] +[node name="tab" type="Control" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 size_flags_stretch_ratio = 28.0 -[node name="Panel2" type="Panel" parent="VBoxContainer/TabContainer/MarginContainer/VBoxContainer"] +[node name="Panel2" type="Panel" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer"] custom_minimum_size = Vector2(942, 0) layout_mode = 2 size_flags_horizontal = 8 size_flags_vertical = 3 size_flags_stretch_ratio = 565.0 theme_override_styles/panel = SubResource("StyleBoxTexture_k0wv2") + +[node name="TextureRect" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2"] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.027 +anchor_bottom = 0.027 +offset_top = -0.0930004 +offset_right = 168.0 +offset_bottom = 64.907 +texture = ExtResource("9_3w85f") + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/TextureRect"] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 32 +text = "基 础 属 性" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="GridContainer" type="GridContainer" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2"] +custom_minimum_size = Vector2(910, 132) +layout_mode = 0 +anchor_left = 0.0201699 +anchor_top = 0.193202 +anchor_right = 0.9862 +anchor_bottom = 0.429338 +columns = 4 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.353488 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "体质" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect2" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect2"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.353488 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "敏捷" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect2"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect3" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect3"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.353488 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "智力" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect3"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect4" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect4"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.353488 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "感知" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect4"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect5" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect5"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.353488 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "力量" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect5"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect6" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect6"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.353488 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "魅力" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect6"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect7" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect7"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.353488 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "意志" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect7"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect8" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect8"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.353488 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "幸运" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer/TextureRect8"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect2" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2"] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.469 +anchor_bottom = 0.469 +offset_top = -0.171021 +offset_right = 168.0 +offset_bottom = 64.829 +texture = ExtResource("9_3w85f") + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/TextureRect2"] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 32 +text = "战 斗 属 性" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="GridContainer2" type="GridContainer" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2"] +custom_minimum_size = Vector2(910, 132) +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.0265393 +anchor_top = 0.633274 +anchor_right = 0.992569 +anchor_bottom = 0.987478 +columns = 4 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.353488 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "生命" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect2" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect2"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.353488 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "精神" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect2"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect3" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect3"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = -0.027907 +anchor_right = 0.539535 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "物理攻击" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect3"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect4" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect4"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.497674 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "法术强度" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect4"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect5" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect5"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.548837 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "物理防御" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect5"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect6" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect6"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = -0.0837209 +anchor_right = 0.497674 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "法术抗性" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect6"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect7" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect7"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = -0.0186047 +anchor_right = 0.390698 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "闪避率" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect7"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect8" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect8"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.353488 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "xxx" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect8"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect9" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect9"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.44186 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "暴击率" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect9"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect10" type="TextureRect" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2"] +layout_mode = 2 +texture = ExtResource("10_4vfh3") +stretch_mode = 5 + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect10"] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 0.567442 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1) +theme_override_font_sizes/font_size = 28 +text = "暴击伤害" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="VBoxContainer/TabContainer/basic_mes/VBoxContainer/Panel2/GridContainer2/TextureRect10"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.418605 +anchor_right = 0.92093 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "100" +horizontal_alignment = 2 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="special_ability" type="MarginContainer" parent="VBoxContainer/TabContainer"] +layout_mode = 2 +theme_override_constants/margin_left = 54 +theme_override_constants/margin_top = 8 +theme_override_constants/margin_bottom = 35 +metadata/_tab_index = 1 + +[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/special_ability"] +layout_mode = 2 +theme_override_constants/separation = 20 + +[node name="Panel" type="Panel" parent="VBoxContainer/TabContainer/special_ability/VBoxContainer"] +layout_mode = 2 +size_flags_vertical = 3 +theme_override_styles/panel = ExtResource("11_vvy03") + +[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/special_ability/VBoxContainer/Panel"] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="TextureRect" type="TextureRect" parent="VBoxContainer/TabContainer/special_ability/VBoxContainer/Panel/VBoxContainer"] +custom_minimum_size = Vector2(235, 57) +layout_mode = 2 +size_flags_horizontal = 0 +size_flags_vertical = 0 +texture = ExtResource("12_yd5na") + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/special_ability/VBoxContainer/Panel/VBoxContainer/TextureRect"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.0595745 +anchor_right = 0.995745 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_font_sizes/font_size = 38 +text = "特质" +metadata/_edit_use_anchors_ = true + +[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/TabContainer/special_ability/VBoxContainer/Panel/VBoxContainer"] +layout_mode = 2 +size_flags_vertical = 3 +theme_override_constants/margin_left = 13 +theme_override_constants/margin_top = 14 +theme_override_constants/margin_bottom = 15 + +[node name="NinePatchRect" type="NinePatchRect" parent="VBoxContainer/TabContainer/special_ability/VBoxContainer/Panel/VBoxContainer/MarginContainer"] +layout_mode = 2 +texture = ExtResource("13_rxt5d") +region_rect = Rect2(0, 0, 903.5, 340) +patch_margin_left = 62 +patch_margin_top = 52 +patch_margin_right = 70 +patch_margin_bottom = 39 + +[node name="GridContainer" type="GridContainer" parent="VBoxContainer/TabContainer/special_ability/VBoxContainer/Panel/VBoxContainer/MarginContainer"] +layout_mode = 2 +columns = 4 + +[node name="Panel2" type="Panel" parent="VBoxContainer/TabContainer/special_ability/VBoxContainer"] +layout_mode = 2 +size_flags_vertical = 3 +theme_override_styles/panel = ExtResource("11_vvy03") + +[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/special_ability/VBoxContainer/Panel2"] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="TextureRect" type="TextureRect" parent="VBoxContainer/TabContainer/special_ability/VBoxContainer/Panel2/VBoxContainer"] +custom_minimum_size = Vector2(235, 57) +layout_mode = 2 +size_flags_horizontal = 0 +size_flags_vertical = 0 +texture = ExtResource("12_yd5na") + +[node name="Label" type="Label" parent="VBoxContainer/TabContainer/special_ability/VBoxContainer/Panel2/VBoxContainer/TextureRect"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.0595745 +anchor_right = 0.995745 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_font_sizes/font_size = 38 +text = "能力" +metadata/_edit_use_anchors_ = true + +[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/TabContainer/special_ability/VBoxContainer/Panel2/VBoxContainer"] +layout_mode = 2 +size_flags_vertical = 3 +theme_override_constants/margin_left = 13 +theme_override_constants/margin_top = 14 +theme_override_constants/margin_bottom = 15 + +[node name="NinePatchRect" type="NinePatchRect" parent="VBoxContainer/TabContainer/special_ability/VBoxContainer/Panel2/VBoxContainer/MarginContainer"] +layout_mode = 2 +texture = ExtResource("13_rxt5d") +region_rect = Rect2(0, 0, 903.5, 340) +patch_margin_left = 62 +patch_margin_top = 52 +patch_margin_right = 70 +patch_margin_bottom = 39 + +[node name="TextureRect" type="TextureRect" parent="."] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.137 +anchor_top = 0.759 +anchor_right = 0.137 +anchor_bottom = 0.759 +offset_left = 0.959991 +offset_top = 0.279907 +offset_right = 509.96 +offset_bottom = 124.28 +texture = ExtResource("11_pelkm") + +[node name="character_name" type="Label" parent="TextureRect"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.0392927 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(1, 1, 1, 1) +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) +theme_override_constants/outline_size = 5 +theme_override_font_sizes/font_size = 46 +text = "角色姓名" +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true diff --git a/scene/select.tscn b/scene/select.tscn index 4a86397..b94a89f 100644 --- a/scene/select.tscn +++ b/scene/select.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=23 format=3 uid="uid://33lcg23hy4mi"] +[gd_scene load_steps=24 format=3 uid="uid://33lcg23hy4mi"] [ext_resource type="Script" path="res://scene/select.gd" id="1_cgnul"] [ext_resource type="Texture2D" uid="uid://li8e5ntlgcpg" path="res://res/ui/ui_003_select/test.png" id="3_jw1jl"] @@ -18,6 +18,7 @@ [ext_resource type="Texture2D" uid="uid://y03c11caxq5g" path="res://res/ui/ui_003_select/末世图标.png" id="13_06h8p"] [ext_resource type="Texture2D" uid="uid://cukrtaeu70hc5" path="res://res/ui/ui_003_select/继续图标.png" id="15_jcwu5"] [ext_resource type="Texture2D" uid="uid://bt5qrcsynsp6j" path="res://res/ui/ui_004_character_bag/图层231.png" id="18_qwfod"] +[ext_resource type="Texture2D" uid="uid://bdnuk1oe6bhjv" path="res://res/ui/ui_003_select/图层29.png" id="19_ubknp"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_ly4bd"] resource_local_to_scene = true @@ -106,10 +107,10 @@ metadata/_edit_use_anchors_ = true [node name="Button1" type="Button" parent="VBoxContainer"] z_index = 1 clip_contents = true -custom_minimum_size = Vector2(385, 80) +custom_minimum_size = Vector2(385, 99) layout_mode = 2 size_flags_horizontal = 0 -size_flags_vertical = 3 +size_flags_vertical = 0 focus_mode = 0 theme_override_styles/hover_pressed = ExtResource("4_7pqsv") theme_override_styles/hover = ExtResource("4_7pqsv") @@ -133,10 +134,10 @@ stretch_mode = 6 [node name="Button2" type="Button" parent="VBoxContainer"] clip_contents = true -custom_minimum_size = Vector2(320, 80) +custom_minimum_size = Vector2(320, 99) layout_mode = 2 size_flags_horizontal = 0 -size_flags_vertical = 3 +size_flags_vertical = 0 focus_mode = 0 theme_override_styles/hover_pressed = ExtResource("5_f0q5x") theme_override_styles/hover = ExtResource("5_f0q5x") @@ -161,10 +162,10 @@ metadata/_edit_use_anchors_ = true [node name="Button3" type="Button" parent="VBoxContainer"] clip_contents = true -custom_minimum_size = Vector2(320, 80) +custom_minimum_size = Vector2(320, 99) layout_mode = 2 size_flags_horizontal = 0 -size_flags_vertical = 3 +size_flags_vertical = 0 focus_mode = 0 theme_override_styles/hover_pressed = ExtResource("5_f0q5x") theme_override_styles/hover = ExtResource("5_f0q5x") @@ -189,10 +190,10 @@ metadata/_edit_use_anchors_ = true [node name="Button4" type="Button" parent="VBoxContainer"] clip_contents = true -custom_minimum_size = Vector2(320, 80) +custom_minimum_size = Vector2(320, 99) layout_mode = 2 size_flags_horizontal = 0 -size_flags_vertical = 3 +size_flags_vertical = 0 focus_mode = 0 theme_override_styles/hover_pressed = ExtResource("5_f0q5x") theme_override_styles/hover = ExtResource("5_f0q5x") @@ -217,10 +218,10 @@ metadata/_edit_use_anchors_ = true [node name="Button5" type="Button" parent="VBoxContainer"] clip_contents = true -custom_minimum_size = Vector2(320, 80) +custom_minimum_size = Vector2(320, 99) layout_mode = 2 size_flags_horizontal = 0 -size_flags_vertical = 3 +size_flags_vertical = 0 focus_mode = 0 theme_override_styles/hover_pressed = ExtResource("5_f0q5x") theme_override_styles/hover = ExtResource("5_f0q5x") @@ -245,10 +246,10 @@ metadata/_edit_use_anchors_ = true [node name="Button6" type="Button" parent="VBoxContainer"] clip_contents = true -custom_minimum_size = Vector2(320, 80) +custom_minimum_size = Vector2(320, 99) layout_mode = 2 size_flags_horizontal = 0 -size_flags_vertical = 3 +size_flags_vertical = 0 focus_mode = 0 theme_override_styles/hover_pressed = ExtResource("5_f0q5x") theme_override_styles/hover = ExtResource("5_f0q5x") @@ -549,6 +550,49 @@ focus_mode = 0 icon = ExtResource("18_qwfod") flat = true +[node name="TextureRect" type="NinePatchRect" parent="."] +z_index = 1 +layout_mode = 0 +anchor_left = 0.766146 +anchor_top = 0.736111 +anchor_right = 0.91875 +anchor_bottom = 0.815741 +texture = ExtResource("19_ubknp") +patch_margin_left = 30 +patch_margin_right = 30 +metadata/_edit_use_anchors_ = true + +[node name="MarginContainer" type="MarginContainer" parent="TextureRect"] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_constants/margin_left = 30 +theme_override_constants/margin_right = 30 + +[node name="Label" type="Label" parent="TextureRect/MarginContainer"] +layout_mode = 2 +size_flags_vertical = 1 +theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_colors/font_outline_color = Color(1, 1, 1, 1) +theme_override_constants/outline_size = 28 +theme_override_font_sizes/font_size = 45 +text = "进入剧本" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="enter" type="Button" parent="TextureRect"] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +focus_mode = 0 +flat = true + [connection signal="pressed" from="VBoxContainer/Button1" to="." method="side_btn_clicked" binds= [0]] [connection signal="pressed" from="VBoxContainer/Button2" to="." method="side_btn_clicked" binds= [1]] [connection signal="pressed" from="VBoxContainer/Button3" to="." method="side_btn_clicked" binds= [2]]