valencia-rail-rush/shop.tscn

127 lines
3.2 KiB
Plaintext

[gd_scene format=3 uid="uid://52hoyqjot1cs"]
[ext_resource type="Script" uid="uid://bwekjlqnn55ea" path="res://shop.gd" id="1_7ae35"]
[ext_resource type="Texture2D" uid="uid://vafsec00vepj" path="res://assets/Images/tren.jpg" id="2_c0ofq"]
[ext_resource type="Texture2D" uid="uid://ci36unhukt8tl" path="res://assets/Images/penguin21.webp" id="2_f511j"]
[node name="Shop" type="Control" unique_id=632945658]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_7ae35")
[node name="TextureRect" type="TextureRect" parent="." unique_id=1400016957]
modulate = Color(0.4156048, 0.3595127, 0.2152954, 1)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -577.0
offset_top = -432.70294
offset_right = 577.0
offset_bottom = 432.70294
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_c0ofq")
expand_mode = 5
[node name="Tux" type="TextureRect" parent="." unique_id=200750690]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -431.0
offset_top = -268.0
offset_right = -87.0
offset_bottom = 43.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_f511j")
expand_mode = 3
[node name="TuxText" type="Label" parent="." unique_id=1682412623]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -368.0
offset_top = 25.0
offset_right = -103.0
offset_bottom = 93.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 40
text = "Tenda de TUX"
[node name="TuxUpgrades" type="ItemList" parent="." unique_id=351105576]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -415.0
offset_top = -295.0
offset_right = -32.0
offset_bottom = 288.0
grow_horizontal = 2
grow_vertical = 2
fixed_icon_size = Vector2i(100, 100)
[node name="Diners" type="Label" parent="." unique_id=1267923551]
layout_mode = 0
offset_left = 161.0
offset_top = 3.0
offset_right = 212.0
offset_bottom = 26.0
text = "Diners:"
[node name="Money" type="Label" parent="." unique_id=234629460]
layout_mode = 0
offset_left = 223.0
offset_top = 4.0
offset_right = 263.0
offset_bottom = 27.0
text = "0"
[node name="Description" type="Label" parent="." unique_id=1324515689]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -134.0
offset_top = 352.0
offset_right = 185.0
offset_bottom = 409.0
grow_horizontal = 2
grow_vertical = 2
[node name="Error" type="Label" parent="." unique_id=2072947215]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -136.0
offset_top = -309.0
offset_right = 132.0
offset_bottom = -270.0
grow_horizontal = 2
grow_vertical = 2
[connection signal="mouse_entered" from="Tux" to="." method="_on_tux_mouse_entered"]
[connection signal="mouse_exited" from="Tux" to="." method="_on_tux_mouse_exited"]
[connection signal="item_clicked" from="TuxUpgrades" to="." method="_on_tux_upgrades_item_clicked"]