RingOfRaces/MiscScenes/Menu.tscn

59 lines
1.7 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=7 format=2]
2020-09-21 13:18:10 +00:00
[ext_resource path="res://MiscCodes/Loading_Ring.gd" type="Script" id=1]
2021-08-26 14:52:21 +00:00
[ext_resource path="res://MiscCodes/Menu.gd" type="Script" id=2]
[ext_resource path="res://pictures/animations/Loading/loading_ring.png" type="Texture" id=3]
[ext_resource path="res://pictures/gui/backgrounds/treesbackground1.png" type="Texture" id=4]
2021-04-08 19:43:34 +00:00
[sub_resource type="DynamicFontData" id=1]
font_path = "res://ring_of_races_font.ttf"
2021-04-08 19:43:34 +00:00
[sub_resource type="DynamicFont" id=2]
size = 30
2021-04-08 19:43:34 +00:00
font_data = SubResource( 1 )
2020-09-21 13:18:10 +00:00
[node name="Main Menu" type="Node2D"]
2021-08-26 14:52:21 +00:00
script = ExtResource( 2 )
2020-09-21 13:18:10 +00:00
[node name="loading_ring" type="Sprite" parent="."]
visible = false
position = Vector2( 574.719, 228.63 )
z_index = 1
2021-08-26 14:52:21 +00:00
texture = ExtResource( 3 )
script = ExtResource( 1 )
[node name="Background" type="TextureRect" parent="."]
margin_right = 1234.0
margin_bottom = 768.0
2021-08-26 14:52:21 +00:00
texture = ExtResource( 4 )
stretch_mode = 2
__meta__ = {
"_edit_use_anchors_": false
}
2020-09-21 13:18:10 +00:00
[node name="Btn_PlayGame" type="Button" parent="."]
margin_left = 484.204
margin_top = 100.226
margin_right = 679.204
margin_bottom = 153.226
2021-04-15 20:14:31 +00:00
rect_pivot_offset = Vector2( 46.6684, 19.1049 )
2021-04-08 19:43:34 +00:00
custom_fonts/font = SubResource( 2 )
2020-09-21 13:18:10 +00:00
text = "Play Game"
__meta__ = {
"_edit_use_anchors_": false
}
2021-04-15 20:14:31 +00:00
[node name="Btn_LoadGame" type="Button" parent="."]
margin_left = 484.01
margin_top = 158.594
margin_right = 679.01
margin_bottom = 211.594
rect_pivot_offset = Vector2( 46.6684, 19.1049 )
custom_fonts/font = SubResource( 2 )
text = "Load Game"
__meta__ = {
"_edit_use_anchors_": false
}
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"]