CyberTower/scenes/ui/reward_item.tscn

44 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2024-02-16 16:55:13 +00:00
[gd_scene load_steps=2 format=3 uid="uid://bayylbkjbagy5"]
[ext_resource type="Script" path="res://scripts/ui/reward_item.gd" id="1_v4j3k"]
[node name="RewardItem" type="Panel"]
2024-02-17 04:04:43 +00:00
custom_minimum_size = Vector2(360, 520)
2024-02-16 16:55:13 +00:00
script = ExtResource("1_v4j3k")
[node name="Title" type="Label" parent="."]
layout_mode = 0
offset_top = 120.0
offset_right = 360.0
offset_bottom = 162.0
theme_override_font_sizes/font_size = 32
text = "Reward"
horizontal_alignment = 1
[node name="Subtitle" type="Label" parent="."]
layout_mode = 0
offset_top = 160.0
offset_right = 360.0
offset_bottom = 184.0
theme_override_font_sizes/font_size = 16
text = "Reward description"
horizontal_alignment = 1
[node name="Description" type="RichTextLabel" parent="."]
layout_mode = 0
offset_left = 52.0
offset_top = 208.0
offset_right = 308.0
2024-02-17 04:04:43 +00:00
offset_bottom = 432.0
2024-02-16 16:55:13 +00:00
bbcode_enabled = true
text = "This is the world most powerful reward. Trust me, choose this is a great choice."
[node name="ClaimButton" type="Button" parent="."]
offset_left = 52.0
2024-02-17 04:04:43 +00:00
offset_top = 448.0
2024-02-16 16:55:13 +00:00
offset_right = 308.0
2024-02-17 04:04:43 +00:00
offset_bottom = 480.0
2024-02-16 16:55:13 +00:00
text = "Claim"
[connection signal="pressed" from="ClaimButton" to="." method="_on_claim"]