added price economy

This commit is contained in:
2024-11-13 17:23:04 +01:00
parent a12a965a2b
commit 0e850fd373
9 changed files with 283 additions and 18 deletions
+11 -1
View File
@@ -1,8 +1,12 @@
[gd_scene load_steps=2 format=3 uid="uid://s6hl2xf6o6sg"]
[gd_scene load_steps=3 format=3 uid="uid://s6hl2xf6o6sg"]
[ext_resource type="Script" path="res://scenes/ball_vendor_object.gd" id="1_1tyxk"]
[ext_resource type="FontFile" uid="uid://dxgnofummhosw" path="res://fonts/play_bold.ttf" id="2_exguj"]
[node name="BallVendorObject" type="HBoxContainer"]
offset_right = 404.0
offset_bottom = 100.0
size_flags_vertical = 4
script = ExtResource("1_1tyxk")
[node name="BuyButton" type="TextureButton" parent="."]
@@ -11,6 +15,12 @@ layout_mode = 2
stretch_mode = 0
[node name="PriceLabel" type="RichTextLabel" parent="."]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
theme_override_fonts/normal_font = ExtResource("2_exguj")
theme_override_font_sizes/normal_font_size = 50
bbcode_enabled = true
text = "200€"
fit_content = true
[connection signal="pressed" from="BuyButton" to="." method="_on_buy_button_pressed"]