Files
mir-godot/engine/scenes/interface/store/store.tscn
kubbo 26874f634d perf(font): 优化字体渲染并添加抗锯齿设置
- 在所有字体文件中添加 keep_rounding_remainders 属性,提高字体渲染质量
- 更新项目设置,启用抗锯齿功能
- 调整场景文件中的资源引用,添加 UID 信息
2025-05-27 09:20:14 +08:00

70 lines
2.2 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://cgdsuskoj408f"]
[ext_resource type="Script" uid="uid://cf8u4bmoq2crr" path="res://scripts/interface/store/store.gd" id="1_pv4cb"]
[ext_resource type="Texture2D" uid="uid://dujbp71q26pgc" path="res://assets/interface/store/store_background.png" id="1_yaagc"]
[ext_resource type="Texture2D" uid="uid://bv1y2ps3ar3xn" path="res://assets/interface/common/close_button_0.png" id="2_ykwcx"]
[ext_resource type="Texture2D" uid="uid://dajrp5tujblkg" path="res://assets/interface/common/close_button_1.png" id="3_nxejt"]
[ext_resource type="Texture2D" uid="uid://brfg4bgiicas4" path="res://assets/interface/common/close_button_2.png" id="4_avaef"]
[node name="StoreMain" type="Control"]
layout_mode = 3
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -339.5
offset_top = -221.0
offset_right = 339.5
offset_bottom = 221.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_pv4cb")
[node name="Background" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -339.5
offset_top = -221.0
offset_right = 339.5
offset_bottom = 221.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_yaagc")
[node name="DragButton" type="TextureButton" parent="Background"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -193.0
offset_top = -183.5
offset_right = 193.0
offset_bottom = 183.5
grow_horizontal = 2
grow_vertical = 2
[node name="CloseButton" type="TextureButton" parent="Background"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -45.0
offset_top = 41.0
offset_right = -24.0
offset_bottom = 63.0
grow_horizontal = 0
texture_normal = ExtResource("2_ykwcx")
texture_pressed = ExtResource("3_nxejt")
texture_hover = ExtResource("4_avaef")
[connection signal="button_down" from="Background/DragButton" to="." method="_on_drag_button_button_down"]
[connection signal="button_up" from="Background/DragButton" to="." method="_on_drag_button_button_up"]
[connection signal="pressed" from="Background/CloseButton" to="." method="_on_close_button_pressed"]