money
This commit is contained in:
parent
4ab01fe0dc
commit
f4ffbf642b
8 changed files with 55 additions and 22 deletions
4
UI/MOney.gd
Normal file
4
UI/MOney.gd
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
extends Label
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
text = "Money: " + str(GlobalVariables.money)
|
||||
1
UI/MOney.gd.uid
Normal file
1
UI/MOney.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://ckv3v1nabgbb3
|
||||
|
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://c2qnrd7mneksy"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://c2qnrd7mneksy"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dhy3kcnievdpq" path="res://UI/MainUI.gd" id="1_xv1u1"]
|
||||
[ext_resource type="Script" uid="uid://14odr4cov1sm" path="res://UI/ShapeSelectUI.gd" id="2_wwh41"]
|
||||
[ext_resource type="Script" uid="uid://ckv3v1nabgbb3" path="res://UI/MOney.gd" id="3_wa2eh"]
|
||||
|
||||
[node name="MainUi" type="CanvasLayer"]
|
||||
script = ExtResource("1_xv1u1")
|
||||
|
|
@ -30,4 +31,18 @@ size_flags_horizontal = 3
|
|||
size_flags_vertical = 3
|
||||
theme_override_constants/h_separation = 100
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
offset_left = 8.0
|
||||
offset_top = 6.0
|
||||
offset_right = 228.0
|
||||
offset_bottom = 77.0
|
||||
theme_override_colors/font_color = Color(0.778638, 0.426824, 0.518148, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0.611765, 0.788235, 0, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 0.705882, 0, 1)
|
||||
theme_override_constants/outline_size = 8
|
||||
theme_override_constants/shadow_outline_size = 13
|
||||
theme_override_font_sizes/font_size = 50
|
||||
text = "Money: 0"
|
||||
script = ExtResource("3_wa2eh")
|
||||
|
||||
[connection signal="pressed" from="ShapeButton" to="." method="_on_shape_button_pressed"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue