RingOfRaces/MiscScenes/Menu.tscn

42 lines
1.4 KiB
Plaintext
Raw Normal View History

2023-03-25 20:42:54 +00:00
[gd_scene load_steps=5 format=3 uid="uid://caepg2vk4xb87"]
2020-09-21 13:18:10 +00:00
2023-03-25 20:42:54 +00:00
[ext_resource type="Script" path="res://MiscCodes/Loading_Ring.gd" id="1"]
[ext_resource type="Script" path="res://MiscCodes/Menu.gd" id="2"]
[ext_resource type="Texture2D" uid="uid://ddo84f47qcy78" path="res://pictures/animations/Loading/loading_ring.png" id="3"]
[ext_resource type="Texture2D" uid="uid://clfexh123p7o7" path="res://pictures/gui/backgrounds/treesbackground1.png" id="4"]
2020-09-21 13:18:10 +00:00
[node name="Main Menu" type="Node2D"]
2023-03-25 20:42:54 +00:00
script = ExtResource("2")
2020-09-21 13:18:10 +00:00
2023-03-25 20:42:54 +00:00
[node name="loading_ring" type="Sprite2D" parent="."]
visible = false
z_index = 1
2023-03-25 20:42:54 +00:00
position = Vector2(574.719, 228.63)
texture = ExtResource("3")
script = ExtResource("1")
[node name="Background" type="TextureRect" parent="."]
2023-03-25 20:42:54 +00:00
offset_right = 1234.0
offset_bottom = 768.0
texture = ExtResource("4")
stretch_mode = 2
2020-09-21 13:18:10 +00:00
[node name="Btn_PlayGame" type="Button" parent="."]
2023-03-25 20:42:54 +00:00
offset_left = 484.204
offset_top = 100.226
offset_right = 679.204
offset_bottom = 153.226
pivot_offset = Vector2(46.6684, 19.1049)
2020-09-21 13:18:10 +00:00
text = "Play Game"
2021-04-15 20:14:31 +00:00
[node name="Btn_LoadGame" type="Button" parent="."]
2023-03-25 20:42:54 +00:00
offset_left = 484.01
offset_top = 158.594
offset_right = 679.01
offset_bottom = 211.594
pivot_offset = Vector2(46.6684, 19.1049)
2021-04-15 20:14:31 +00:00
text = "Load Game"
2023-03-25 20:42:54 +00:00
2020-09-21 13:18:10 +00:00
[connection signal="pressed" from="Btn_PlayGame" to="." method="_on_Btn_PlayGame_pressed"]
2021-04-15 20:14:31 +00:00
[connection signal="pressed" from="Btn_LoadGame" to="." method="_on_Btn_LoadGame_pressed"]