diff --git a/class/ButtonOffsetTrigerResource/NodeOffsetArrayResouce.gd b/class/ButtonOffsetTrigerResource/NodeOffsetArrayResouce.gd new file mode 100644 index 0000000..404dc5b --- /dev/null +++ b/class/ButtonOffsetTrigerResource/NodeOffsetArrayResouce.gd @@ -0,0 +1,5 @@ +extends Resource +#用于保存一组节点-偏移组的资源 +class_name NodeOffsetArrayResource +@export var node:NodePath +@export var offset:Vector2 diff --git a/class/ButtonOffsetTrigerResource/button_offset_triger_resource.gd b/class/ButtonOffsetTrigerResource/button_offset_triger_resource.gd new file mode 100644 index 0000000..b6135c1 --- /dev/null +++ b/class/ButtonOffsetTrigerResource/button_offset_triger_resource.gd @@ -0,0 +1,34 @@ +extends Resource +#用于保存在button聚焦或按下时使其他关联节点发生偏移的资源类 +class_name ButtonOffsetTrigerResource + +@export var button:NodePath + +@export var offset_arr:Array[NodeOffsetArrayResource] + +var root +func open(root:Node): + self.root=root + var btn:BaseButton=root.get_node(self.button) + if not btn is BaseButton: + return + btn.mouse_entered.connect(use_offset) + btn.mouse_exited.connect(del_offset) + + pass + +func use_offset(): + for i in offset_arr: + var node=root.get_node(i.node) + if not node is Control: + continue + node.position+=i.offset + pass + +func del_offset(): + for i in offset_arr: + var node=root.get_node(i.node) + if not node is Control: + continue + node.position-=i.offset + pass diff --git a/project.godot b/project.godot index dd0db21..70609b1 100644 --- a/project.godot +++ b/project.godot @@ -36,6 +36,10 @@ window/size/initial_position=Vector2i(200, 200) enabled=PackedStringArray("res://addons/popupwindow/plugin.cfg") +[gui] + +theme/custom_font="res://res/font/SourceHanSerifC-Medium.otf" + [input] mouse_left={ diff --git a/res/font/SourceHanSerifC-Medium.otf b/res/font/SourceHanSerifC-Medium.otf new file mode 100644 index 0000000..425aeb7 Binary files /dev/null and b/res/font/SourceHanSerifC-Medium.otf differ diff --git a/res/font/SourceHanSerifC-Medium.otf.import b/res/font/SourceHanSerifC-Medium.otf.import new file mode 100644 index 0000000..e20034d --- /dev/null +++ b/res/font/SourceHanSerifC-Medium.otf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://ccxt6ama57eis" +path="res://.godot/imported/SourceHanSerifC-Medium.otf-9ebd1f9bc1026d7af49ab6c588277d3e.fontdata" + +[deps] + +source_file="res://res/font/SourceHanSerifC-Medium.otf" +dest_files=["res://.godot/imported/SourceHanSerifC-Medium.otf-9ebd1f9bc1026d7af49ab6c588277d3e.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +hinting=1 +subpixel_positioning=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/res/ui/new_ui_001_main/banner@1x.png b/res/ui/new_ui_001_main/banner@1x.png new file mode 100644 index 0000000..07abe3b Binary files /dev/null and b/res/ui/new_ui_001_main/banner@1x.png differ diff --git a/res/ui/new_ui_001_main/banner@1x.png.import b/res/ui/new_ui_001_main/banner@1x.png.import new file mode 100644 index 0000000..49b732a --- /dev/null +++ b/res/ui/new_ui_001_main/banner@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://djgwrlc5qnoc5" +path="res://.godot/imported/banner@1x.png-5ac8edcdcef554ad493f5587338a01ed.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/banner@1x.png" +dest_files=["res://.godot/imported/banner@1x.png-5ac8edcdcef554ad493f5587338a01ed.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/new_ui_001_main/仓库@1x@1x.png b/res/ui/new_ui_001_main/仓库@1x@1x.png new file mode 100644 index 0000000..f3c1f9e Binary files /dev/null and b/res/ui/new_ui_001_main/仓库@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/仓库@1x@1x.png.import b/res/ui/new_ui_001_main/仓库@1x@1x.png.import new file mode 100644 index 0000000..a1b2ce8 --- /dev/null +++ b/res/ui/new_ui_001_main/仓库@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://db6dmkjc4oyta" +path="res://.godot/imported/仓库@1x@1x.png-f79056a1b0f2be40b99dfab397f360e2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/仓库@1x@1x.png" +dest_files=["res://.godot/imported/仓库@1x@1x.png-f79056a1b0f2be40b99dfab397f360e2.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/new_ui_001_main/体力@1x@1x.png b/res/ui/new_ui_001_main/体力@1x@1x.png new file mode 100644 index 0000000..dadaffd Binary files /dev/null and b/res/ui/new_ui_001_main/体力@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/体力@1x@1x.png.import b/res/ui/new_ui_001_main/体力@1x@1x.png.import new file mode 100644 index 0000000..f667c1d --- /dev/null +++ b/res/ui/new_ui_001_main/体力@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://caxcwlxebi211" +path="res://.godot/imported/体力@1x@1x.png-e17da3e2fea5494062cae5801182bd65.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/体力@1x@1x.png" +dest_files=["res://.godot/imported/体力@1x@1x.png-e17da3e2fea5494062cae5801182bd65.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/new_ui_001_main/体力值框@1x@1x.png b/res/ui/new_ui_001_main/体力值框@1x@1x.png new file mode 100644 index 0000000..69d688f Binary files /dev/null and b/res/ui/new_ui_001_main/体力值框@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/体力值框@1x@1x.png.import b/res/ui/new_ui_001_main/体力值框@1x@1x.png.import new file mode 100644 index 0000000..dd3504b --- /dev/null +++ b/res/ui/new_ui_001_main/体力值框@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b4y2y737t6tf5" +path="res://.godot/imported/体力值框@1x@1x.png-046d722a5e42119016b2b11d1d5e69dd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/体力值框@1x@1x.png" +dest_files=["res://.godot/imported/体力值框@1x@1x.png-046d722a5e42119016b2b11d1d5e69dd.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/new_ui_001_main/体力添加@1x@1x.png b/res/ui/new_ui_001_main/体力添加@1x@1x.png new file mode 100644 index 0000000..55765bb Binary files /dev/null and b/res/ui/new_ui_001_main/体力添加@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/体力添加@1x@1x.png.import b/res/ui/new_ui_001_main/体力添加@1x@1x.png.import new file mode 100644 index 0000000..d935506 --- /dev/null +++ b/res/ui/new_ui_001_main/体力添加@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d31vxn1wt1u0m" +path="res://.godot/imported/体力添加@1x@1x.png-e05a8d3ae12e75760db590dc67a0dda7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/体力添加@1x@1x.png" +dest_files=["res://.godot/imported/体力添加@1x@1x.png-e05a8d3ae12e75760db590dc67a0dda7.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/new_ui_001_main/卡牌@1x@1x.png b/res/ui/new_ui_001_main/卡牌@1x@1x.png new file mode 100644 index 0000000..5136057 Binary files /dev/null and b/res/ui/new_ui_001_main/卡牌@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/卡牌@1x@1x.png.import b/res/ui/new_ui_001_main/卡牌@1x@1x.png.import new file mode 100644 index 0000000..7fb88ae --- /dev/null +++ b/res/ui/new_ui_001_main/卡牌@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b07binlr1i6f8" +path="res://.godot/imported/卡牌@1x@1x.png-6dd7ba4e30b78cd8f5bb781e58bf9890.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/卡牌@1x@1x.png" +dest_files=["res://.godot/imported/卡牌@1x@1x.png-6dd7ba4e30b78cd8f5bb781e58bf9890.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/new_ui_001_main/弹窗@1x@1x.png b/res/ui/new_ui_001_main/弹窗@1x@1x.png new file mode 100644 index 0000000..7ed23c9 Binary files /dev/null and b/res/ui/new_ui_001_main/弹窗@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/弹窗@1x@1x.png.import b/res/ui/new_ui_001_main/弹窗@1x@1x.png.import new file mode 100644 index 0000000..30a508f --- /dev/null +++ b/res/ui/new_ui_001_main/弹窗@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dexyhnntssg2v" +path="res://.godot/imported/弹窗@1x@1x.png-52c0f55e86d04e4e6b0f11237368be15.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/弹窗@1x@1x.png" +dest_files=["res://.godot/imported/弹窗@1x@1x.png-52c0f55e86d04e4e6b0f11237368be15.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/new_ui_001_main/当前@1x@1x.png b/res/ui/new_ui_001_main/当前@1x@1x.png new file mode 100644 index 0000000..4c0891f Binary files /dev/null and b/res/ui/new_ui_001_main/当前@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/当前@1x@1x.png.import b/res/ui/new_ui_001_main/当前@1x@1x.png.import new file mode 100644 index 0000000..a4074bf --- /dev/null +++ b/res/ui/new_ui_001_main/当前@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b4ppevuheg5jx" +path="res://.godot/imported/当前@1x@1x.png-06fd711bd9020e36139b0747cec7a799.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/当前@1x@1x.png" +dest_files=["res://.godot/imported/当前@1x@1x.png-06fd711bd9020e36139b0747cec7a799.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/new_ui_001_main/成就@1x@1x.png b/res/ui/new_ui_001_main/成就@1x@1x.png new file mode 100644 index 0000000..9383f3a Binary files /dev/null and b/res/ui/new_ui_001_main/成就@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/成就@1x@1x.png.import b/res/ui/new_ui_001_main/成就@1x@1x.png.import new file mode 100644 index 0000000..7a898b7 --- /dev/null +++ b/res/ui/new_ui_001_main/成就@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dtu5u6mrbgmee" +path="res://.godot/imported/成就@1x@1x.png-e44f3136bafa4889dc1bdf39ea6fa686.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/成就@1x@1x.png" +dest_files=["res://.godot/imported/成就@1x@1x.png-e44f3136bafa4889dc1bdf39ea6fa686.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/new_ui_001_main/成就表@1x.png b/res/ui/new_ui_001_main/成就表@1x.png new file mode 100644 index 0000000..23adee6 Binary files /dev/null and b/res/ui/new_ui_001_main/成就表@1x.png differ diff --git a/res/ui/new_ui_001_main/成就表@1x.png.import b/res/ui/new_ui_001_main/成就表@1x.png.import new file mode 100644 index 0000000..6c368ff --- /dev/null +++ b/res/ui/new_ui_001_main/成就表@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bpxe3rop6ldrt" +path="res://.godot/imported/成就表@1x.png-e23ed82f9e236409929eaaaca400f6b2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/成就表@1x.png" +dest_files=["res://.godot/imported/成就表@1x.png-e23ed82f9e236409929eaaaca400f6b2.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/new_ui_001_main/提示点@1x@1x.png b/res/ui/new_ui_001_main/提示点@1x@1x.png new file mode 100644 index 0000000..d3dca80 Binary files /dev/null and b/res/ui/new_ui_001_main/提示点@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/提示点@1x@1x.png.import b/res/ui/new_ui_001_main/提示点@1x@1x.png.import new file mode 100644 index 0000000..8fa0d06 --- /dev/null +++ b/res/ui/new_ui_001_main/提示点@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dethta0i1y2gk" +path="res://.godot/imported/提示点@1x@1x.png-3e05c8668467e50b2686b8117163fe13.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/提示点@1x@1x.png" +dest_files=["res://.godot/imported/提示点@1x@1x.png-3e05c8668467e50b2686b8117163fe13.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/new_ui_001_main/日历@1x.png b/res/ui/new_ui_001_main/日历@1x.png new file mode 100644 index 0000000..899812a Binary files /dev/null and b/res/ui/new_ui_001_main/日历@1x.png differ diff --git a/res/ui/new_ui_001_main/日历@1x.png.import b/res/ui/new_ui_001_main/日历@1x.png.import new file mode 100644 index 0000000..94c7d14 --- /dev/null +++ b/res/ui/new_ui_001_main/日历@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dvlwj6mj6hy1v" +path="res://.godot/imported/日历@1x.png-4f16407258bc1920fca2e283b4856a92.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/日历@1x.png" +dest_files=["res://.godot/imported/日历@1x.png-4f16407258bc1920fca2e283b4856a92.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/new_ui_001_main/时间表@1x.png b/res/ui/new_ui_001_main/时间表@1x.png new file mode 100644 index 0000000..c604574 Binary files /dev/null and b/res/ui/new_ui_001_main/时间表@1x.png differ diff --git a/res/ui/new_ui_001_main/时间表@1x.png.import b/res/ui/new_ui_001_main/时间表@1x.png.import new file mode 100644 index 0000000..0bc36fb --- /dev/null +++ b/res/ui/new_ui_001_main/时间表@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bpae4mku8e1bf" +path="res://.godot/imported/时间表@1x.png-b6eefe24df8e1090b0a5c83bb7249a2d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/时间表@1x.png" +dest_files=["res://.godot/imported/时间表@1x.png-b6eefe24df8e1090b0a5c83bb7249a2d.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/new_ui_001_main/昵称遮罩@1x.png b/res/ui/new_ui_001_main/昵称遮罩@1x.png new file mode 100644 index 0000000..11b948f Binary files /dev/null and b/res/ui/new_ui_001_main/昵称遮罩@1x.png differ diff --git a/res/ui/new_ui_001_main/昵称遮罩@1x.png.import b/res/ui/new_ui_001_main/昵称遮罩@1x.png.import new file mode 100644 index 0000000..6a69537 --- /dev/null +++ b/res/ui/new_ui_001_main/昵称遮罩@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://clknluc0srcie" +path="res://.godot/imported/昵称遮罩@1x.png-6779fae76f25150bc74af1a77175057e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/昵称遮罩@1x.png" +dest_files=["res://.godot/imported/昵称遮罩@1x.png-6779fae76f25150bc74af1a77175057e.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/new_ui_001_main/未选中人物@1x@1x.png b/res/ui/new_ui_001_main/未选中人物@1x@1x.png new file mode 100644 index 0000000..63e2d5e Binary files /dev/null and b/res/ui/new_ui_001_main/未选中人物@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/未选中人物@1x@1x.png.import b/res/ui/new_ui_001_main/未选中人物@1x@1x.png.import new file mode 100644 index 0000000..eccaf34 --- /dev/null +++ b/res/ui/new_ui_001_main/未选中人物@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b41alh1bd8132" +path="res://.godot/imported/未选中人物@1x@1x.png-546a0f52d4bbd84ff989837f7a0e422a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/未选中人物@1x@1x.png" +dest_files=["res://.godot/imported/未选中人物@1x@1x.png-546a0f52d4bbd84ff989837f7a0e422a.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/new_ui_001_main/未选中剧本@1x.png b/res/ui/new_ui_001_main/未选中剧本@1x.png new file mode 100644 index 0000000..d735720 Binary files /dev/null and b/res/ui/new_ui_001_main/未选中剧本@1x.png differ diff --git a/res/ui/new_ui_001_main/未选中剧本@1x.png.import b/res/ui/new_ui_001_main/未选中剧本@1x.png.import new file mode 100644 index 0000000..107faa6 --- /dev/null +++ b/res/ui/new_ui_001_main/未选中剧本@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://chgue75550h0b" +path="res://.godot/imported/未选中剧本@1x.png-ab2d061e4fc4795303ffab3ac94137f3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/未选中剧本@1x.png" +dest_files=["res://.godot/imported/未选中剧本@1x.png-ab2d061e4fc4795303ffab3ac94137f3.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/new_ui_001_main/未选中商城@1x@1x.png b/res/ui/new_ui_001_main/未选中商城@1x@1x.png new file mode 100644 index 0000000..1c91bf7 Binary files /dev/null and b/res/ui/new_ui_001_main/未选中商城@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/未选中商城@1x@1x.png.import b/res/ui/new_ui_001_main/未选中商城@1x@1x.png.import new file mode 100644 index 0000000..350a433 --- /dev/null +++ b/res/ui/new_ui_001_main/未选中商城@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://u8q0qr6ncxil" +path="res://.godot/imported/未选中商城@1x@1x.png-36f8db4abd9282cc54da9ba2768e1aad.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/未选中商城@1x@1x.png" +dest_files=["res://.godot/imported/未选中商城@1x@1x.png-36f8db4abd9282cc54da9ba2768e1aad.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/new_ui_001_main/标签@1x.png b/res/ui/new_ui_001_main/标签@1x.png new file mode 100644 index 0000000..9fa2b99 Binary files /dev/null and b/res/ui/new_ui_001_main/标签@1x.png differ diff --git a/res/ui/new_ui_001_main/标签@1x.png.import b/res/ui/new_ui_001_main/标签@1x.png.import new file mode 100644 index 0000000..ba440a7 --- /dev/null +++ b/res/ui/new_ui_001_main/标签@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://qdtqdcwjcodd" +path="res://.godot/imported/标签@1x.png-58cc4ba4a3cdce199310898f2716f7d0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/标签@1x.png" +dest_files=["res://.godot/imported/标签@1x.png-58cc4ba4a3cdce199310898f2716f7d0.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/new_ui_001_main/滑动块1@1x.png b/res/ui/new_ui_001_main/滑动块1@1x.png new file mode 100644 index 0000000..9664130 Binary files /dev/null and b/res/ui/new_ui_001_main/滑动块1@1x.png differ diff --git a/res/ui/new_ui_001_main/滑动块1@1x.png.import b/res/ui/new_ui_001_main/滑动块1@1x.png.import new file mode 100644 index 0000000..e5fe249 --- /dev/null +++ b/res/ui/new_ui_001_main/滑动块1@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dwtc6tpydjt1w" +path="res://.godot/imported/滑动块1@1x.png-4f8008c10913884f93c8788c28840fd5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/滑动块1@1x.png" +dest_files=["res://.godot/imported/滑动块1@1x.png-4f8008c10913884f93c8788c28840fd5.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/new_ui_001_main/滑动块2@1x.png b/res/ui/new_ui_001_main/滑动块2@1x.png new file mode 100644 index 0000000..1cb5d23 Binary files /dev/null and b/res/ui/new_ui_001_main/滑动块2@1x.png differ diff --git a/res/ui/new_ui_001_main/滑动块2@1x.png.import b/res/ui/new_ui_001_main/滑动块2@1x.png.import new file mode 100644 index 0000000..fc635c0 --- /dev/null +++ b/res/ui/new_ui_001_main/滑动块2@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cmm7c8el0ssu" +path="res://.godot/imported/滑动块2@1x.png-5a497d51dd42f8da394c1e8f429c880a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/滑动块2@1x.png" +dest_files=["res://.godot/imported/滑动块2@1x.png-5a497d51dd42f8da394c1e8f429c880a.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/new_ui_001_main/空白占位@1x@1x.png b/res/ui/new_ui_001_main/空白占位@1x@1x.png new file mode 100644 index 0000000..44e361d Binary files /dev/null and b/res/ui/new_ui_001_main/空白占位@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/空白占位@1x@1x.png.import b/res/ui/new_ui_001_main/空白占位@1x@1x.png.import new file mode 100644 index 0000000..da3c4b8 --- /dev/null +++ b/res/ui/new_ui_001_main/空白占位@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://fjcuv71okhi8" +path="res://.godot/imported/空白占位@1x@1x.png-ad6e2c160a73a03e0c5dd4de9bddb5f2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/空白占位@1x@1x.png" +dest_files=["res://.godot/imported/空白占位@1x@1x.png-ad6e2c160a73a03e0c5dd4de9bddb5f2.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/new_ui_001_main/章节黑底@1x.png b/res/ui/new_ui_001_main/章节黑底@1x.png new file mode 100644 index 0000000..6bfb5ff Binary files /dev/null and b/res/ui/new_ui_001_main/章节黑底@1x.png differ diff --git a/res/ui/new_ui_001_main/章节黑底@1x.png.import b/res/ui/new_ui_001_main/章节黑底@1x.png.import new file mode 100644 index 0000000..80c8ec8 --- /dev/null +++ b/res/ui/new_ui_001_main/章节黑底@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cjtettpdvqjml" +path="res://.godot/imported/章节黑底@1x.png-43f5326b61a5e01aa4e628867ed67674.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/章节黑底@1x.png" +dest_files=["res://.godot/imported/章节黑底@1x.png-43f5326b61a5e01aa4e628867ed67674.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/new_ui_001_main/箭头@1x.png b/res/ui/new_ui_001_main/箭头@1x.png new file mode 100644 index 0000000..6c6ea7e Binary files /dev/null and b/res/ui/new_ui_001_main/箭头@1x.png differ diff --git a/res/ui/new_ui_001_main/箭头@1x.png.import b/res/ui/new_ui_001_main/箭头@1x.png.import new file mode 100644 index 0000000..dada91e --- /dev/null +++ b/res/ui/new_ui_001_main/箭头@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b2san7wfkayhh" +path="res://.godot/imported/箭头@1x.png-7de0d502538ef5fd09df25532ac2293c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/箭头@1x.png" +dest_files=["res://.godot/imported/箭头@1x.png-7de0d502538ef5fd09df25532ac2293c.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/new_ui_001_main/角色@1x@1x.png b/res/ui/new_ui_001_main/角色@1x@1x.png new file mode 100644 index 0000000..906600f Binary files /dev/null and b/res/ui/new_ui_001_main/角色@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/角色@1x@1x.png.import b/res/ui/new_ui_001_main/角色@1x@1x.png.import new file mode 100644 index 0000000..40a83e4 --- /dev/null +++ b/res/ui/new_ui_001_main/角色@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dnjolo3ihf77u" +path="res://.godot/imported/角色@1x@1x.png-82df537a24ac6b5dc22ad743ae6afcb5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/角色@1x@1x.png" +dest_files=["res://.godot/imported/角色@1x@1x.png-82df537a24ac6b5dc22ad743ae6afcb5.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/new_ui_001_main/设置@1x.png b/res/ui/new_ui_001_main/设置@1x.png new file mode 100644 index 0000000..f339301 Binary files /dev/null and b/res/ui/new_ui_001_main/设置@1x.png differ diff --git a/res/ui/new_ui_001_main/设置@1x.png.import b/res/ui/new_ui_001_main/设置@1x.png.import new file mode 100644 index 0000000..2316ba1 --- /dev/null +++ b/res/ui/new_ui_001_main/设置@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://q2bnirkndyhu" +path="res://.godot/imported/设置@1x.png-d7a5576a7df6985433f6e76600203c34.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/设置@1x.png" +dest_files=["res://.godot/imported/设置@1x.png-d7a5576a7df6985433f6e76600203c34.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/new_ui_001_main/财富@1x-2.png b/res/ui/new_ui_001_main/财富@1x-2.png new file mode 100644 index 0000000..cee83e8 Binary files /dev/null and b/res/ui/new_ui_001_main/财富@1x-2.png differ diff --git a/res/ui/new_ui_001_main/财富@1x-2.png.import b/res/ui/new_ui_001_main/财富@1x-2.png.import new file mode 100644 index 0000000..a600179 --- /dev/null +++ b/res/ui/new_ui_001_main/财富@1x-2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://da5e33e5wkgbf" +path="res://.godot/imported/财富@1x-2.png-1e58871762ab213e4911cdc2f59ee5c1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/财富@1x-2.png" +dest_files=["res://.godot/imported/财富@1x-2.png-1e58871762ab213e4911cdc2f59ee5c1.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/new_ui_001_main/财富@1x.png b/res/ui/new_ui_001_main/财富@1x.png new file mode 100644 index 0000000..cee83e8 Binary files /dev/null and b/res/ui/new_ui_001_main/财富@1x.png differ diff --git a/res/ui/new_ui_001_main/财富@1x.png.import b/res/ui/new_ui_001_main/财富@1x.png.import new file mode 100644 index 0000000..06d0314 --- /dev/null +++ b/res/ui/new_ui_001_main/财富@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c20jwhpyy1njs" +path="res://.godot/imported/财富@1x.png-7eb610794e54d59bc323ff7afe6a5144.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/财富@1x.png" +dest_files=["res://.godot/imported/财富@1x.png-7eb610794e54d59bc323ff7afe6a5144.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/new_ui_001_main/选中人物@1x@1x.png b/res/ui/new_ui_001_main/选中人物@1x@1x.png new file mode 100644 index 0000000..123b520 Binary files /dev/null and b/res/ui/new_ui_001_main/选中人物@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/选中人物@1x@1x.png.import b/res/ui/new_ui_001_main/选中人物@1x@1x.png.import new file mode 100644 index 0000000..627df8e --- /dev/null +++ b/res/ui/new_ui_001_main/选中人物@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://rk3au7ltsau5" +path="res://.godot/imported/选中人物@1x@1x.png-bf0c47722ee6f68754f3c2720ca9a0d7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/选中人物@1x@1x.png" +dest_files=["res://.godot/imported/选中人物@1x@1x.png-bf0c47722ee6f68754f3c2720ca9a0d7.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/new_ui_001_main/选中商城@1x@1x.png b/res/ui/new_ui_001_main/选中商城@1x@1x.png new file mode 100644 index 0000000..e07bedb Binary files /dev/null and b/res/ui/new_ui_001_main/选中商城@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/选中商城@1x@1x.png.import b/res/ui/new_ui_001_main/选中商城@1x@1x.png.import new file mode 100644 index 0000000..8f2e299 --- /dev/null +++ b/res/ui/new_ui_001_main/选中商城@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://52l30dnuit4i" +path="res://.godot/imported/选中商城@1x@1x.png-a1ffc208bf0adc1a95d4c284e5451a85.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/选中商城@1x@1x.png" +dest_files=["res://.godot/imported/选中商城@1x@1x.png-a1ffc208bf0adc1a95d4c284e5451a85.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/new_ui_001_main/选中状态剧本@1x.png b/res/ui/new_ui_001_main/选中状态剧本@1x.png new file mode 100644 index 0000000..05683f7 Binary files /dev/null and b/res/ui/new_ui_001_main/选中状态剧本@1x.png differ diff --git a/res/ui/new_ui_001_main/选中状态剧本@1x.png.import b/res/ui/new_ui_001_main/选中状态剧本@1x.png.import new file mode 100644 index 0000000..d7fd8e4 --- /dev/null +++ b/res/ui/new_ui_001_main/选中状态剧本@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://duhfe04lhbvxl" +path="res://.godot/imported/选中状态剧本@1x.png-4c60ac0e5500d19951bb53a1573c070b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/选中状态剧本@1x.png" +dest_files=["res://.godot/imported/选中状态剧本@1x.png-4c60ac0e5500d19951bb53a1573c070b.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/new_ui_001_main/道具边框@1x@1x.png b/res/ui/new_ui_001_main/道具边框@1x@1x.png new file mode 100644 index 0000000..5a7999c Binary files /dev/null and b/res/ui/new_ui_001_main/道具边框@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/道具边框@1x@1x.png.import b/res/ui/new_ui_001_main/道具边框@1x@1x.png.import new file mode 100644 index 0000000..7b7f33a --- /dev/null +++ b/res/ui/new_ui_001_main/道具边框@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://o38kvofremap" +path="res://.godot/imported/道具边框@1x@1x.png-2ba8e8024294cc9b1ff31091dd848973.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/道具边框@1x@1x.png" +dest_files=["res://.godot/imported/道具边框@1x@1x.png-2ba8e8024294cc9b1ff31091dd848973.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/new_ui_001_main/遮罩@1x@1x.png b/res/ui/new_ui_001_main/遮罩@1x@1x.png new file mode 100644 index 0000000..b93c419 Binary files /dev/null and b/res/ui/new_ui_001_main/遮罩@1x@1x.png differ diff --git a/res/ui/new_ui_001_main/遮罩@1x@1x.png.import b/res/ui/new_ui_001_main/遮罩@1x@1x.png.import new file mode 100644 index 0000000..abcce49 --- /dev/null +++ b/res/ui/new_ui_001_main/遮罩@1x@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dox5f407o8k2h" +path="res://.godot/imported/遮罩@1x@1x.png-608f5c837dfded9b4aa705afc485425b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/遮罩@1x@1x.png" +dest_files=["res://.godot/imported/遮罩@1x@1x.png-608f5c837dfded9b4aa705afc485425b.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/new_ui_001_main/邮箱@1x.png b/res/ui/new_ui_001_main/邮箱@1x.png new file mode 100644 index 0000000..5cec27d Binary files /dev/null and b/res/ui/new_ui_001_main/邮箱@1x.png differ diff --git a/res/ui/new_ui_001_main/邮箱@1x.png.import b/res/ui/new_ui_001_main/邮箱@1x.png.import new file mode 100644 index 0000000..2480c36 --- /dev/null +++ b/res/ui/new_ui_001_main/邮箱@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bsuojiwon5un3" +path="res://.godot/imported/邮箱@1x.png-7f20002ca8a0dddf569bdfdc5deac0db.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/邮箱@1x.png" +dest_files=["res://.godot/imported/邮箱@1x.png-7f20002ca8a0dddf569bdfdc5deac0db.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/new_ui_001_main/金币@1x.png b/res/ui/new_ui_001_main/金币@1x.png new file mode 100644 index 0000000..c2ec6ac Binary files /dev/null and b/res/ui/new_ui_001_main/金币@1x.png differ diff --git a/res/ui/new_ui_001_main/金币@1x.png.import b/res/ui/new_ui_001_main/金币@1x.png.import new file mode 100644 index 0000000..b981e22 --- /dev/null +++ b/res/ui/new_ui_001_main/金币@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dk33j6ebu77rt" +path="res://.godot/imported/金币@1x.png-0637d0ba565fc1f56ee755936bfee72f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/金币@1x.png" +dest_files=["res://.godot/imported/金币@1x.png-0637d0ba565fc1f56ee755936bfee72f.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/new_ui_001_main/钻石@1x-2.png b/res/ui/new_ui_001_main/钻石@1x-2.png new file mode 100644 index 0000000..d5d1c40 Binary files /dev/null and b/res/ui/new_ui_001_main/钻石@1x-2.png differ diff --git a/res/ui/new_ui_001_main/钻石@1x-2.png.import b/res/ui/new_ui_001_main/钻石@1x-2.png.import new file mode 100644 index 0000000..2f25d51 --- /dev/null +++ b/res/ui/new_ui_001_main/钻石@1x-2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dxtn5b5gmaa2t" +path="res://.godot/imported/钻石@1x-2.png-278bbe5fa60a67c8a24275b2d2b63fba.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/钻石@1x-2.png" +dest_files=["res://.godot/imported/钻石@1x-2.png-278bbe5fa60a67c8a24275b2d2b63fba.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/new_ui_001_main/钻石@1x.png b/res/ui/new_ui_001_main/钻石@1x.png new file mode 100644 index 0000000..d5d1c40 Binary files /dev/null and b/res/ui/new_ui_001_main/钻石@1x.png differ diff --git a/res/ui/new_ui_001_main/钻石@1x.png.import b/res/ui/new_ui_001_main/钻石@1x.png.import new file mode 100644 index 0000000..15cdb2d --- /dev/null +++ b/res/ui/new_ui_001_main/钻石@1x.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cypidiehire70" +path="res://.godot/imported/钻石@1x.png-c0ebe4f4e1a95f2f5f1941ac6ac1ad5c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://res/ui/new_ui_001_main/钻石@1x.png" +dest_files=["res://.godot/imported/钻石@1x.png-c0ebe4f4e1a95f2f5f1941ac6ac1ad5c.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/main.tscn b/scene/main.tscn index b0d93af..57b75a9 100644 --- a/scene/main.tscn +++ b/scene/main.tscn @@ -617,6 +617,7 @@ layout_mode = 2 size_flags_horizontal = 8 [node name="DrawerContainer" type="Container" parent="."] +visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 @@ -635,6 +636,7 @@ rag = 1.0 layout_mode = 2 [node name="DrawerContainer2" type="Container" parent="."] +visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 @@ -653,6 +655,7 @@ layout_mode = 2 [node name="bag_card_drawer" type="Container" parent="."] unique_name_in_owner = true +visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 @@ -671,6 +674,7 @@ layout_mode = 2 [node name="config_drawer" type="Container" parent="."] unique_name_in_owner = true +visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 diff --git a/scene/new_scene/main.gd b/scene/new_scene/main.gd new file mode 100644 index 0000000..a4b6077 --- /dev/null +++ b/scene/new_scene/main.gd @@ -0,0 +1,20 @@ +extends Control +@export var texture_button_need_click_mask:Array[TextureButton]=[] + +@export var button_offset_triger_arr:Array[ButtonOffsetTrigerResource] +func init_texture_button_click_mask(): + for i in texture_button_need_click_mask: + var bitmap=BitMap.new() + bitmap.create_from_image_alpha(i.texture_hover.get_image()) + i.texture_click_mask=bitmap + +func _ready() -> void: + init_texture_button_click_mask() + for i in button_offset_triger_arr: + i.open(self) + + + + + + diff --git a/scene/new_scene/main.tscn b/scene/new_scene/main.tscn new file mode 100644 index 0000000..f431ea0 --- /dev/null +++ b/scene/new_scene/main.tscn @@ -0,0 +1,767 @@ +[gd_scene load_steps=45 format=3 uid="uid://di6kh2u1u1p05"] + +[ext_resource type="Script" path="res://class/tool/DrawerContainer.gd" id="1_8qmlu"] +[ext_resource type="Texture2D" uid="uid://q2bnirkndyhu" path="res://res/ui/new_ui_001_main/设置@1x.png" id="1_gpofm"] +[ext_resource type="Texture2D" uid="uid://dexyhnntssg2v" path="res://res/ui/new_ui_001_main/弹窗@1x@1x.png" id="1_l23vh"] +[ext_resource type="Script" path="res://scene/new_scene/main.gd" id="1_pgj6q"] +[ext_resource type="Script" path="res://class/ButtonOffsetTrigerResource/button_offset_triger_resource.gd" id="2_cbgr2"] +[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="2_h5xor"] +[ext_resource type="Texture2D" uid="uid://bsuojiwon5un3" path="res://res/ui/new_ui_001_main/邮箱@1x.png" id="3_e0ewo"] +[ext_resource type="Script" path="res://class/ButtonOffsetTrigerResource/NodeOffsetArrayResouce.gd" id="3_wycq3"] +[ext_resource type="Texture2D" uid="uid://dox5f407o8k2h" path="res://res/ui/new_ui_001_main/遮罩@1x@1x.png" id="4_322ac"] +[ext_resource type="Texture2D" uid="uid://bpxe3rop6ldrt" path="res://res/ui/new_ui_001_main/成就表@1x.png" id="4_u0q3a"] +[ext_resource type="Texture2D" uid="uid://dnjolo3ihf77u" path="res://res/ui/new_ui_001_main/角色@1x@1x.png" id="4_ynrl2"] +[ext_resource type="Texture2D" uid="uid://dvlwj6mj6hy1v" path="res://res/ui/new_ui_001_main/日历@1x.png" id="5_jvaox"] +[ext_resource type="Texture2D" uid="uid://dtu5u6mrbgmee" path="res://res/ui/new_ui_001_main/成就@1x@1x.png" id="8_8v04f"] +[ext_resource type="Texture2D" uid="uid://djgwrlc5qnoc5" path="res://res/ui/new_ui_001_main/banner@1x.png" id="9_0vo4i"] +[ext_resource type="Texture2D" uid="uid://cjtettpdvqjml" path="res://res/ui/new_ui_001_main/章节黑底@1x.png" id="10_1t6su"] +[ext_resource type="Texture2D" uid="uid://qdtqdcwjcodd" path="res://res/ui/new_ui_001_main/标签@1x.png" id="10_2nxx0"] +[ext_resource type="Texture2D" uid="uid://b2san7wfkayhh" path="res://res/ui/new_ui_001_main/箭头@1x.png" id="12_cuvjn"] +[ext_resource type="Texture2D" uid="uid://bpae4mku8e1bf" path="res://res/ui/new_ui_001_main/时间表@1x.png" id="13_p5vwm"] +[ext_resource type="Texture2D" uid="uid://o38kvofremap" path="res://res/ui/new_ui_001_main/道具边框@1x@1x.png" id="14_au2dt"] +[ext_resource type="Texture2D" uid="uid://c20jwhpyy1njs" path="res://res/ui/new_ui_001_main/财富@1x.png" id="15_b1la4"] +[ext_resource type="Texture2D" uid="uid://cypidiehire70" path="res://res/ui/new_ui_001_main/钻石@1x.png" id="16_gpi51"] +[ext_resource type="Texture2D" uid="uid://dwtc6tpydjt1w" path="res://res/ui/new_ui_001_main/滑动块1@1x.png" id="16_tt2t0"] +[ext_resource type="Texture2D" uid="uid://cmm7c8el0ssu" path="res://res/ui/new_ui_001_main/滑动块2@1x.png" id="17_57d37"] +[ext_resource type="Texture2D" uid="uid://chgue75550h0b" path="res://res/ui/new_ui_001_main/未选中剧本@1x.png" id="17_b25l8"] +[ext_resource type="Texture2D" uid="uid://duhfe04lhbvxl" path="res://res/ui/new_ui_001_main/选中状态剧本@1x.png" id="18_uknyf"] +[ext_resource type="Texture2D" uid="uid://b41alh1bd8132" path="res://res/ui/new_ui_001_main/未选中人物@1x@1x.png" id="19_caesy"] +[ext_resource type="Texture2D" uid="uid://caxcwlxebi211" path="res://res/ui/new_ui_001_main/体力@1x@1x.png" id="19_m74bp"] +[ext_resource type="Texture2D" uid="uid://b4y2y737t6tf5" path="res://res/ui/new_ui_001_main/体力值框@1x@1x.png" id="20_3juna"] +[ext_resource type="Texture2D" uid="uid://rk3au7ltsau5" path="res://res/ui/new_ui_001_main/选中人物@1x@1x.png" id="20_6bmbn"] +[ext_resource type="Texture2D" uid="uid://d31vxn1wt1u0m" path="res://res/ui/new_ui_001_main/体力添加@1x@1x.png" id="20_lsoej"] +[ext_resource type="Texture2D" uid="uid://u8q0qr6ncxil" path="res://res/ui/new_ui_001_main/未选中商城@1x@1x.png" id="21_0v4bi"] +[ext_resource type="Texture2D" uid="uid://52l30dnuit4i" path="res://res/ui/new_ui_001_main/选中商城@1x@1x.png" id="22_a2g8a"] +[ext_resource type="Texture2D" uid="uid://dethta0i1y2gk" path="res://res/ui/new_ui_001_main/提示点@1x@1x.png" id="23_k4ejt"] +[ext_resource type="Texture2D" uid="uid://dk33j6ebu77rt" path="res://res/ui/new_ui_001_main/金币@1x.png" id="24_50io3"] +[ext_resource type="Texture2D" uid="uid://b4ppevuheg5jx" path="res://res/ui/new_ui_001_main/当前@1x@1x.png" id="24_54kaj"] +[ext_resource type="Texture2D" uid="uid://db6dmkjc4oyta" path="res://res/ui/new_ui_001_main/仓库@1x@1x.png" id="29_2mlkd"] +[ext_resource type="Texture2D" uid="uid://b07binlr1i6f8" path="res://res/ui/new_ui_001_main/卡牌@1x@1x.png" id="30_2sbny"] + +[sub_resource type="Resource" id="Resource_8uopn"] +script = ExtResource("3_wycq3") +node = NodePath("right_botton/HBoxContainer/TextureButton/Label") +offset = Vector2(-10, -10) + +[sub_resource type="Resource" id="Resource_oxp1h"] +script = ExtResource("3_wycq3") +node = NodePath("right_botton/HBoxContainer/TextureButton/Label2") +offset = Vector2(-10, -10) + +[sub_resource type="Resource" id="Resource_j6h3q"] +script = ExtResource("3_wycq3") +node = NodePath("right_botton/HBoxContainer/TextureButton/TextureRect") +offset = Vector2(-10, -10) + +[sub_resource type="Resource" id="Resource_iv138"] +script = ExtResource("2_cbgr2") +button = NodePath("right_botton/HBoxContainer/TextureButton") +offset_arr = Array[ExtResource("3_wycq3")]([SubResource("Resource_8uopn"), SubResource("Resource_oxp1h"), SubResource("Resource_j6h3q")]) + +[sub_resource type="Resource" id="Resource_y6k1i"] +script = ExtResource("3_wycq3") +node = NodePath("right_botton/HBoxContainer/TextureButton2/Label") +offset = Vector2(-10, -20) + +[sub_resource type="Resource" id="Resource_gjdtf"] +script = ExtResource("3_wycq3") +node = NodePath("right_botton/HBoxContainer/TextureButton2/TextureRect") +offset = Vector2(-10, -20) + +[sub_resource type="Resource" id="Resource_ll6ny"] +script = ExtResource("2_cbgr2") +button = NodePath("right_botton/HBoxContainer/TextureButton2") +offset_arr = Array[ExtResource("3_wycq3")]([SubResource("Resource_y6k1i"), SubResource("Resource_gjdtf")]) + +[node name="Main" type="Control" node_paths=PackedStringArray("texture_button_need_click_mask")] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("1_pgj6q") +texture_button_need_click_mask = [NodePath("right_botton/TextureButton"), NodePath("right_botton/HBoxContainer/TextureButton"), NodePath("right_botton/HBoxContainer/TextureButton2")] +button_offset_triger_arr = Array[ExtResource("2_cbgr2")]([SubResource("Resource_iv138"), SubResource("Resource_ll6ny")]) + +[node name="back" type="TextureRect" parent="."] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_top = 4.0 +offset_bottom = 4.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="TextureRect2" type="TextureRect" parent="."] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.3875 +anchor_top = 0.137037 +anchor_right = 0.683333 +anchor_bottom = 1.22685 +texture = ExtResource("4_322ac") +stretch_mode = 5 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect3" type="TextureRect" parent="."] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.00364583 +anchor_top = 0.137037 +anchor_right = 0.299479 +anchor_bottom = 1.22685 +texture = ExtResource("4_322ac") +stretch_mode = 5 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect" type="TextureRect" parent="."] +layout_mode = 0 +anchor_left = 0.141146 +anchor_top = 0.00925926 +anchor_right = 0.545313 +anchor_bottom = 1.54167 +texture = ExtResource("4_ynrl2") +stretch_mode = 5 +metadata/_edit_use_anchors_ = true + +[node name="left_bottom" type="VBoxContainer" parent="."] +layout_mode = 0 +offset_top = 36.0 +offset_right = 391.0 +offset_bottom = 194.0 +theme_override_constants/separation = 22 + +[node name="HBoxContainer" type="HBoxContainer" parent="left_bottom"] +layout_mode = 2 +theme_override_constants/separation = 27 + +[node name="tab" type="Control" parent="left_bottom/HBoxContainer"] +custom_minimum_size = Vector2(30, 0) +layout_mode = 2 + +[node name="config" type="TextureRect" parent="left_bottom/HBoxContainer"] +layout_mode = 2 +texture = ExtResource("1_gpofm") + +[node name="ToolButton" parent="left_bottom/HBoxContainer/config" instance=ExtResource("2_h5xor")] +layout_mode = 1 + +[node name="mail" type="TextureRect" parent="left_bottom/HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 +texture = ExtResource("3_e0ewo") + +[node name="ToolButton" parent="left_bottom/HBoxContainer/mail" instance=ExtResource("2_h5xor")] +layout_mode = 1 + +[node name="achievement" type="TextureRect" parent="left_bottom/HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 +texture = ExtResource("4_u0q3a") + +[node name="ToolButton" parent="left_bottom/HBoxContainer/achievement" instance=ExtResource("2_h5xor")] +layout_mode = 1 + +[node name="calendar" type="TextureRect" parent="left_bottom/HBoxContainer"] +layout_mode = 2 +texture = ExtResource("5_jvaox") + +[node name="ToolButton" parent="left_bottom/HBoxContainer/calendar" instance=ExtResource("2_h5xor")] +layout_mode = 1 + +[node name="DrawerContainer" type="Container" parent="left_bottom"] +layout_mode = 2 +script = ExtResource("1_8qmlu") +button_model = 3 +disable_button = true + +[node name="TextureRect" type="TextureRect" parent="left_bottom/DrawerContainer"] +layout_mode = 2 +texture = ExtResource("1_l23vh") + +[node name="MarginContainer" type="MarginContainer" parent="left_bottom/DrawerContainer/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 = 21 + +[node name="VBoxContainer" type="HBoxContainer" parent="left_bottom/DrawerContainer/TextureRect/MarginContainer"] +layout_mode = 2 +theme_override_constants/separation = 35 + +[node name="TextureRect2" type="TextureRect" parent="left_bottom/DrawerContainer/TextureRect/MarginContainer/VBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 +texture = ExtResource("8_8v04f") + +[node name="Label" type="Label" parent="left_bottom/DrawerContainer/TextureRect/MarginContainer/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 32 +text = "达成成就!!" + +[node name="left_below" type="Control" parent="."] +layout_mode = 1 +anchors_preset = 2 +anchor_top = 1.0 +anchor_bottom = 1.0 +offset_left = 40.0 +offset_top = -225.0 +offset_right = 490.0 +grow_vertical = 0 + +[node name="MarginContainer" type="MarginContainer" parent="left_below"] +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="left_below/MarginContainer"] +layout_mode = 2 +texture = ExtResource("9_0vo4i") +stretch_mode = 3 + +[node name="TextureRect" type="TextureRect" parent="left_below/MarginContainer/TextureRect"] +layout_mode = 0 +anchor_left = 0.597096 +anchor_top = 0.544828 +anchor_right = 0.911071 +anchor_bottom = 0.734483 +texture = ExtResource("10_1t6su") +metadata/_edit_use_anchors_ = true + +[node name="Label" type="Label" parent="left_below/MarginContainer/TextureRect/TextureRect"] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_font_sizes/font_size = 21 +text = "新章节已开放" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Label" type="Label" parent="left_below/MarginContainer/TextureRect"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.482222 +anchor_top = 0.195556 +anchor_right = 0.917778 +anchor_bottom = 0.515556 +theme_override_font_sizes/font_size = 49 +text = "咆哮时代" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="HBoxContainer" type="HBoxContainer" parent="left_below/MarginContainer/TextureRect"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.193333 +anchor_top = 0.795556 +anchor_right = 0.746667 +anchor_bottom = 0.813333 +theme_override_constants/separation = 12 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect" type="TextureRect" parent="left_below/MarginContainer/TextureRect/HBoxContainer"] +layout_mode = 2 +texture = ExtResource("16_tt2t0") + +[node name="TextureRect2" type="TextureRect" parent="left_below/MarginContainer/TextureRect/HBoxContainer"] +layout_mode = 2 +texture = ExtResource("17_57d37") + +[node name="TextureRect3" type="TextureRect" parent="left_below/MarginContainer/TextureRect/HBoxContainer"] +layout_mode = 2 +texture = ExtResource("17_57d37") + +[node name="TextureRect" type="TextureRect" parent="left_below"] +layout_mode = 1 +offset_right = 199.0 +offset_bottom = 60.0 +texture = ExtResource("10_2nxx0") + +[node name="Label" type="Label" parent="left_below/TextureRect"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.0502513 +anchor_top = 0.183333 +anchor_right = 0.894472 +anchor_bottom = 0.716667 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_font_sizes/font_size = 20 +text = "Latest chapter" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="right_below" type="VBoxContainer" parent="."] +layout_mode = 1 +anchors_preset = 1 +anchor_left = 1.0 +anchor_right = 1.0 +offset_left = -844.0 +offset_top = 89.0 +offset_right = 1.0 +offset_bottom = 279.0 +grow_horizontal = 0 + +[node name="HBoxContainer" type="HBoxContainer" parent="right_below"] +layout_mode = 2 +theme_override_constants/separation = 30 + +[node name="TextureRect" type="TextureRect" parent="right_below/HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 +texture = ExtResource("12_cuvjn") + +[node name="TextureRect2" type="TextureRect" parent="right_below/HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 +texture = ExtResource("13_p5vwm") + +[node name="Label" type="Label" parent="right_below/HBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 40 +text = "1920年11月12日" + +[node name="HBoxContainer2" type="HBoxContainer" parent="right_below"] +layout_mode = 2 + +[node name="Control" type="Control" parent="right_below/HBoxContainer2"] +custom_minimum_size = Vector2(35, 0) +layout_mode = 2 + +[node name="TextureRect" type="TextureRect" parent="right_below/HBoxContainer2"] +layout_mode = 2 +texture = ExtResource("14_au2dt") + +[node name="TextureRect" type="TextureRect" parent="right_below/HBoxContainer2/TextureRect"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = -0.0821154 +anchor_top = 0.0253165 +anchor_right = 0.2025 +anchor_bottom = 0.962025 +grow_vertical = 2 +texture = ExtResource("15_b1la4") +stretch_mode = 5 +metadata/_edit_use_anchors_ = true + +[node name="Label" type="Label" parent="right_below/HBoxContainer2/TextureRect"] +layout_mode = 0 +anchor_left = 0.219231 +anchor_top = 0.291139 +anchor_right = 0.434615 +anchor_bottom = 0.822785 +offset_right = -7.0 +offset_bottom = -3.0 +theme_override_colors/font_color = Color(0.94902, 0.94902, 0.94902, 1) +theme_override_colors/font_outline_color = Color(0.964706, 0.305882, 0.164706, 1) +theme_override_constants/outline_size = 3 +theme_override_font_sizes/font_size = 28 +text = "财富" +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="right_below/HBoxContainer2/TextureRect"] +layout_mode = 0 +anchor_left = 0.507692 +anchor_top = 0.291139 +anchor_right = 0.946154 +anchor_bottom = 0.822785 +theme_override_colors/font_color = Color(0.94902, 0.94902, 0.94902, 1) +theme_override_colors/font_outline_color = Color(0.964706, 0.305882, 0.164706, 1) +theme_override_constants/outline_size = 3 +theme_override_font_sizes/font_size = 28 +text = "9999999" +metadata/_edit_use_anchors_ = true + +[node name="TextureRect2" type="TextureRect" parent="right_below/HBoxContainer2"] +layout_mode = 2 +texture = ExtResource("14_au2dt") + +[node name="TextureRect" type="TextureRect" parent="right_below/HBoxContainer2/TextureRect2"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = -0.0821154 +anchor_top = 0.0253165 +anchor_right = 0.2025 +anchor_bottom = 0.962025 +grow_vertical = 2 +texture = ExtResource("16_gpi51") +stretch_mode = 5 +metadata/_edit_use_anchors_ = true + +[node name="Label" type="Label" parent="right_below/HBoxContainer2/TextureRect2"] +layout_mode = 0 +anchor_left = 0.219231 +anchor_top = 0.291139 +anchor_right = 0.434615 +anchor_bottom = 0.822785 +offset_right = -7.0 +offset_bottom = -3.0 +theme_override_colors/font_color = Color(0.94902, 0.94902, 0.94902, 1) +theme_override_colors/font_outline_color = Color(0.964706, 0.305882, 0.164706, 1) +theme_override_constants/outline_size = 3 +theme_override_font_sizes/font_size = 28 +text = "钻石" +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="right_below/HBoxContainer2/TextureRect2"] +layout_mode = 0 +anchor_left = 0.507692 +anchor_top = 0.291139 +anchor_right = 0.946154 +anchor_bottom = 0.822785 +theme_override_colors/font_color = Color(0.94902, 0.94902, 0.94902, 1) +theme_override_colors/font_outline_color = Color(0.964706, 0.305882, 0.164706, 1) +theme_override_constants/outline_size = 3 +theme_override_font_sizes/font_size = 28 +text = "9999999" +metadata/_edit_use_anchors_ = true + +[node name="TextureRect3" type="TextureRect" parent="right_below/HBoxContainer2"] +layout_mode = 2 +texture = ExtResource("14_au2dt") + +[node name="TextureRect" type="TextureRect" parent="right_below/HBoxContainer2/TextureRect3"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = -0.0821154 +anchor_top = 0.0253165 +anchor_right = 0.2025 +anchor_bottom = 0.962025 +grow_vertical = 2 +texture = ExtResource("24_50io3") +stretch_mode = 5 +metadata/_edit_use_anchors_ = true + +[node name="Label" type="Label" parent="right_below/HBoxContainer2/TextureRect3"] +layout_mode = 0 +anchor_left = 0.219231 +anchor_top = 0.291139 +anchor_right = 0.434615 +anchor_bottom = 0.822785 +offset_right = -7.0 +offset_bottom = -3.0 +theme_override_colors/font_color = Color(0.94902, 0.94902, 0.94902, 1) +theme_override_colors/font_outline_color = Color(0.964706, 0.305882, 0.164706, 1) +theme_override_constants/outline_size = 3 +theme_override_font_sizes/font_size = 28 +text = "金币" +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="right_below/HBoxContainer2/TextureRect3"] +layout_mode = 0 +anchor_left = 0.507692 +anchor_top = 0.291139 +anchor_right = 0.946154 +anchor_bottom = 0.822785 +theme_override_colors/font_color = Color(0.94902, 0.94902, 0.94902, 1) +theme_override_colors/font_outline_color = Color(0.964706, 0.305882, 0.164706, 1) +theme_override_constants/outline_size = 3 +theme_override_font_sizes/font_size = 28 +text = "9999999" +metadata/_edit_use_anchors_ = true + +[node name="Control2" type="Control" parent="right_below/HBoxContainer2"] +custom_minimum_size = Vector2(14, 0) +layout_mode = 2 + +[node name="right_botton" type="VBoxContainer" parent="."] +layout_mode = 1 +anchors_preset = 6 +anchor_left = 1.0 +anchor_top = 0.5 +anchor_right = 1.0 +anchor_bottom = 0.5 +offset_left = -872.0 +offset_top = -347.22 +offset_bottom = 444.78 +grow_horizontal = 0 +grow_vertical = 2 +theme_override_constants/separation = -65 + +[node name="TextureButton" type="TextureButton" parent="right_botton"] +layout_mode = 2 +texture_normal = ExtResource("17_b25l8") +texture_pressed = ExtResource("18_uknyf") +texture_hover = ExtResource("18_uknyf") + +[node name="TextureRect" type="TextureRect" parent="right_botton/TextureButton"] +layout_mode = 0 +anchor_left = 0.0676605 +anchor_top = 0.3325 +anchor_right = 0.330275 +anchor_bottom = 0.73 +texture = ExtResource("19_m74bp") +stretch_mode = 5 +metadata/_edit_use_anchors_ = true + +[node name="Label" type="Label" parent="right_botton/TextureButton/TextureRect"] +layout_mode = 0 +anchor_left = 0.406114 +anchor_right = 1.05677 +anchor_bottom = 0.767296 +theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.301961) +theme_override_constants/shadow_offset_x = 4 +theme_override_constants/shadow_offset_y = 4 +theme_override_font_sizes/font_size = 84 +text = "240" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="TextureRect" type="TextureRect" parent="right_botton/TextureButton/TextureRect"] +layout_mode = 0 +anchor_left = 0.0567686 +anchor_top = 0.330189 +anchor_right = 0.235808 +anchor_bottom = 0.58805 +texture = ExtResource("20_lsoej") +metadata/_edit_use_anchors_ = true + +[node name="ToolButton" parent="right_botton/TextureButton/TextureRect/TextureRect" instance=ExtResource("2_h5xor")] +layout_mode = 1 + +[node name="TextureRect2" type="TextureRect" parent="right_botton/TextureButton"] +layout_mode = 0 +anchor_left = 0.0974771 +anchor_top = 0.69125 +anchor_right = 0.327982 +anchor_bottom = 0.80125 +texture = ExtResource("20_3juna") +stretch_mode = 5 +metadata/_edit_use_anchors_ = true + +[node name="Label" type="Label" parent="right_botton/TextureButton/TextureRect2"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.0497512 +anchor_top = 0.0909091 +anchor_right = 0.40796 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.968627, 0.968627, 0.968627, 1) +theme_override_font_sizes/font_size = 24 +text = "体力值" +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="right_botton/TextureButton/TextureRect2"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.472637 +anchor_top = 0.0909091 +anchor_right = 0.910448 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.968627, 0.968627, 0.968627, 1) +theme_override_font_sizes/font_size = 24 +text = "240/240" +metadata/_edit_use_anchors_ = true + +[node name="TextureRect3" type="TextureRect" parent="right_botton/TextureButton"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.588303 +anchor_top = 0.25875 +anchor_right = 0.634174 +anchor_bottom = 0.35875 +texture = ExtResource("23_k4ejt") +metadata/_edit_use_anchors_ = true + +[node name="Label" type="Label" parent="right_botton/TextureButton"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.368119 +anchor_top = 0.30625 +anchor_right = 0.574541 +anchor_bottom = 0.63125 +offset_bottom = 1.52588e-05 +theme_override_colors/font_color = Color(0.298039, 0.203922, 0.172549, 1) +theme_override_font_sizes/font_size = 90 +text = "剧本" +metadata/_edit_use_anchors_ = true + +[node name="TextureRect4" type="TextureRect" parent="right_botton/TextureButton"] +layout_mode = 0 +offset_left = 324.0 +offset_top = 245.5 +offset_right = 380.0 +offset_bottom = 285.5 +texture = ExtResource("24_54kaj") + +[node name="Label" type="Label" parent="right_botton/TextureButton/TextureRect4"] +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.968627, 0.968627, 0.968627, 1) +theme_override_font_sizes/font_size = 24 +text = "当前" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Label2" type="Label" parent="right_botton/TextureButton"] +layout_mode = 0 +anchor_left = 0.368119 +anchor_top = 0.73125 +anchor_right = 0.608945 +anchor_bottom = 0.81875 +theme_override_colors/font_color = Color(0.298039, 0.203922, 0.172549, 1) +theme_override_font_sizes/font_size = 24 +text = "咆哮的1920-1924年" +metadata/_edit_use_anchors_ = true + +[node name="HBoxContainer" type="HBoxContainer" parent="right_botton"] +custom_minimum_size = Vector2(0, 306.61) +layout_mode = 2 +theme_override_constants/separation = -35 + +[node name="TextureButton" type="TextureButton" parent="right_botton/HBoxContainer"] +layout_mode = 2 +texture_normal = ExtResource("19_caesy") +texture_pressed = ExtResource("20_6bmbn") +texture_hover = ExtResource("20_6bmbn") + +[node name="Label" type="Label" parent="right_botton/HBoxContainer/TextureButton"] +layout_mode = 0 +anchor_left = 0.151515 +anchor_top = 0.171569 +anchor_right = 0.474747 +anchor_bottom = 0.47549 +theme_override_colors/font_color = Color(0.141176, 0.0901961, 0.0745098, 1) +theme_override_font_sizes/font_size = 64 +text = "人物" +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="right_botton/HBoxContainer/TextureButton"] +layout_mode = 0 +anchor_left = 0.171717 +anchor_top = 0.439542 +anchor_right = 0.414141 +anchor_bottom = 0.553922 +theme_override_colors/font_color = Color(0.690196, 0.65098, 0.639216, 1) +theme_override_font_sizes/font_size = 24 +text = "角色管理" +metadata/_edit_use_anchors_ = true + +[node name="TextureRect" type="TextureRect" parent="right_botton/HBoxContainer/TextureButton"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.484848 +anchor_top = 0.186993 +anchor_right = 0.585859 +anchor_bottom = 0.317712 +texture = ExtResource("23_k4ejt") +metadata/_edit_use_anchors_ = true + +[node name="TextureButton2" type="TextureButton" parent="right_botton/HBoxContainer"] +layout_mode = 2 +texture_normal = ExtResource("21_0v4bi") +texture_pressed = ExtResource("22_a2g8a") +texture_hover = ExtResource("22_a2g8a") + +[node name="Label" type="Label" parent="right_botton/HBoxContainer/TextureButton2"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.1893 +anchor_top = 0.28268 +anchor_right = 0.452675 +anchor_bottom = 0.586601 +theme_override_colors/font_color = Color(0.298039, 0.203922, 0.172549, 1) +theme_override_font_sizes/font_size = 64 +text = "商城" +metadata/_edit_use_anchors_ = true + +[node name="TextureRect" type="TextureRect" parent="right_botton/HBoxContainer/TextureButton2"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.479424 +anchor_top = 0.242549 +anchor_right = 0.580434 +anchor_bottom = 0.373268 +texture = ExtResource("23_k4ejt") +metadata/_edit_use_anchors_ = true + +[node name="HBoxContainer2" type="HBoxContainer" parent="right_botton"] +custom_minimum_size = Vector2(0, 216.375) +layout_mode = 2 +size_flags_horizontal = 8 + +[node name="TextureRect" type="TextureRect" parent="right_botton/HBoxContainer2"] +layout_mode = 2 +size_flags_horizontal = 0 +size_flags_vertical = 0 +texture = ExtResource("29_2mlkd") + +[node name="Label" type="Label" parent="right_botton/HBoxContainer2/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.941176, 0.607843, 0.47451, 1) +theme_override_font_sizes/font_size = 64 +text = "仓库" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="ToolButton" parent="right_botton/HBoxContainer2/TextureRect" instance=ExtResource("2_h5xor")] +layout_mode = 1 + +[node name="TextureRect2" type="TextureRect" parent="right_botton/HBoxContainer2"] +layout_mode = 2 +size_flags_vertical = 4 +texture = ExtResource("30_2sbny") + +[node name="Label" type="Label" parent="right_botton/HBoxContainer2/TextureRect2"] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.0412371 +anchor_right = 0.470833 +anchor_bottom = 0.829897 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.964706, 0.964706, 0.964706, 1) +theme_override_font_sizes/font_size = 64 +text = "卡牌" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Label2" type="Label" parent="right_botton/HBoxContainer2/TextureRect2"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.50625 +anchor_top = 0.118557 +anchor_right = 0.977083 +anchor_bottom = 0.907216 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_color = Color(0.964706, 0.964706, 0.964706, 1) +theme_override_font_sizes/font_size = 64 +text = "抽卡" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true diff --git a/scene/tool/tool_button.gd b/scene/tool/tool_button.gd index 1b40ed1..f73a21e 100644 --- a/scene/tool/tool_button.gd +++ b/scene/tool/tool_button.gd @@ -1,11 +1,17 @@ extends Button class_name ToolButton - +var is_mouse_enter:bool=false +var is_down:bool=false func on_button_down() -> void: + is_down=true get_parent().modulate=Color(0.5,0.5,0.5,1) pass # Replace with function body. func on_button_up() -> void: - get_parent().modulate=Color(1,1,1,1) + is_down=false + if not is_mouse_enter: + get_parent().modulate=Color(1,1,1,1) + else: + get_parent().modulate=Color(0.8,0.8,0.8,1) pass # Replace with function body.ion body. static func static_on_button_down(canvas:CanvasItem) -> void: canvas.modulate=Color(0.5,0.5,0.5,1) @@ -19,3 +25,18 @@ func disable(is_disable:bool): get_parent().modulate=Color(0.5,0.5,0.5,1) else: get_parent().modulate=Color(1,1,1,1) + + +func _on_mouse_entered() -> void: + is_mouse_enter=true + if not is_down: + get_parent().modulate=Color(0.8,0.8,0.8,1) + + pass # Replace with function body. + + +func _on_mouse_exited() -> void: + is_mouse_enter=false + if not is_down: + get_parent().modulate=Color(1,1,1,1) + pass # Replace with function body. diff --git a/scene/tool/tool_button.tscn b/scene/tool/tool_button.tscn index 510cb95..cf2b692 100644 --- a/scene/tool/tool_button.tscn +++ b/scene/tool/tool_button.tscn @@ -16,3 +16,5 @@ script = ExtResource("1_rfp4a") [connection signal="button_down" from="." to="." method="on_button_down"] [connection signal="button_up" from="." to="." method="on_button_up"] +[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"] +[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]