This commit is contained in:
PajamaBee 2025-07-21 23:23:12 -05:00
parent f4ffbf642b
commit f5f80fd180
15 changed files with 73 additions and 10 deletions

View file

@ -6,6 +6,9 @@ var rotationTimer = 0
func _ready() -> void:
set_rotation_amount()
func set_info(info:String):
$Info.text = info
func set_location_offset(offset):
%ViewObject.global_position = offset

View file

@ -18,9 +18,25 @@ unique_name_in_owner = true
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 200.0
offset_right = 246.0
offset_bottom = 200.0
expand_mode = 1
[node name="Info" type="Label" parent="."]
layout_mode = 0
offset_left = 2.0
offset_top = 201.0
offset_right = 248.0
offset_bottom = 240.0
theme_override_colors/font_color = Color(1, 0, 0, 1)
theme_override_colors/font_shadow_color = Color(0, 0.882353, 0, 1)
theme_override_colors/font_outline_color = Color(0, 0, 1, 1)
theme_override_constants/outline_size = 8
theme_override_constants/shadow_outline_size = 14
theme_override_font_sizes/font_size = 28
text = "Horse - 5 dollars"
horizontal_alignment = 1
vertical_alignment = 1
[editable path="SubViewport/ViewObject"]
[editable path="SubViewport/ViewObject/horse"]