Skip to content

Commit

Permalink
perf[currency]: 增加了货币系统
Browse files Browse the repository at this point in the history
  • Loading branch information
godotg committed Nov 6, 2022
1 parent 078902e commit ba9bcde
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
12 changes: 2 additions & 10 deletions scene/Home.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ layout_mode = 3
anchors_preset = 0

[node name="Currency" type="Control" parent="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
Expand All @@ -137,7 +138,6 @@ scale = Vector2(0.380165, 0.380165)
texture = ExtResource("17_jn7v0")

[node name="Gold" type="Label" parent="Control/Currency"]
layout_mode = 0
offset_left = 46.0
offset_top = 12.0
offset_right = 101.0
Expand All @@ -147,7 +147,6 @@ horizontal_alignment = 1
vertical_alignment = 1

[node name="Gem" type="Label" parent="Control/Currency"]
layout_mode = 1
offset_left = 164.0
offset_top = 12.0
offset_right = 219.0
Expand All @@ -162,7 +161,6 @@ scale = Vector2(0.413223, 0.413223)
texture = ExtResource("18_24tf2")

[node name="Start" type="Button" parent="Control"]
layout_mode = 0
offset_left = 513.0
offset_top = 220.0
offset_right = 629.0
Expand All @@ -172,7 +170,6 @@ icon = ExtResource("6_xrh3e")
flat = true

[node name="RankButton" type="Button" parent="Control"]
layout_mode = 0
offset_left = 451.0
offset_top = 304.0
offset_right = 575.0
Expand All @@ -182,7 +179,6 @@ icon = ExtResource("14_ag2sf")
flat = true

[node name="Chat" type="Button" parent="Control"]
layout_mode = 0
offset_left = 603.0
offset_top = 307.0
offset_right = 691.0
Expand All @@ -196,7 +192,6 @@ theme_override_styles/focus = SubResource("StyleBoxTexture_kirkd")

[node name="RankList" type="ItemList" parent="Control"]
visible = false
layout_mode = 0
offset_right = 459.0
offset_bottom = 512.0
size_flags_horizontal = 3
Expand All @@ -206,28 +201,25 @@ theme_override_font_sizes/font_size = 25

[node name="ChatPanel" type="Control" parent="Control"]
visible = false
layout_mode = 1
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0

[node name="MessageList" type="ItemList" parent="Control/ChatPanel"]
layout_mode = 0
offset_left = 705.0
offset_right = 1152.0
offset_bottom = 512.0
theme_override_fonts/font = ExtResource("15_0bsti")

[node name="LineEdit" type="LineEdit" parent="Control/ChatPanel"]
layout_mode = 0
offset_left = 316.0
offset_right = 705.0
offset_bottom = 56.0
theme_override_fonts/font = ExtResource("15_0bsti")
placeholder_text = "输入要发送的内容"

[node name="Button" type="Button" parent="Control/ChatPanel"]
layout_mode = 0
offset_left = 525.0
offset_top = 71.0
offset_right = 618.0
Expand Down
6 changes: 5 additions & 1 deletion scene/Login.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ layout_mode = 3
anchors_preset = 0

[node name="Account" type="LineEdit" parent="Control"]
layout_mode = 0
offset_left = 464.0
offset_top = 176.0
offset_right = 688.0
Expand All @@ -103,6 +104,7 @@ placeholder_text = "账号名称(bird开头)"
alignment = 1

[node name="Password" type="LineEdit" parent="Control"]
layout_mode = 0
offset_left = 464.0
offset_top = 248.0
offset_right = 688.0
Expand All @@ -115,6 +117,7 @@ alignment = 1
secret = true

[node name="Login" type="Button" parent="Control"]
layout_mode = 0
offset_left = 496.0
offset_top = 328.0
offset_right = 640.0
Expand All @@ -127,10 +130,11 @@ theme_override_styles/focus = SubResource("StyleBoxEmpty_kmon0")
text = "登录"

[node name="Label" type="Label" parent="Control"]
layout_mode = 0
offset_right = 125.0
offset_bottom = 26.0
theme_override_fonts/font = ExtResource("3_gn64u")
text = "v7.2.0 godot4.x 灵魂小鸟"
text = "v7.3.0 godot4.x 灵魂小鸟"

[node name="UI" type="Node2D" parent="."]
position = Vector2(576, 96)
Expand Down

0 comments on commit ba9bcde

Please sign in to comment.