-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMain Menu.tscn
42 lines (37 loc) · 1.53 KB
/
Main Menu.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[gd_scene load_steps=9 format=2]
[ext_resource path="res://Main Menu.gd" type="Script" id=1]
[ext_resource path="res://Assets/UI/Main Menu.png" type="Texture" id=2]
[ext_resource path="res://Assets/Button/start.png" type="Texture" id=3]
[ext_resource path="res://Assets/Button/start pressed.png" type="Texture" id=4]
[ext_resource path="res://Assets/Button/start hover.png" type="Texture" id=5]
[ext_resource path="res://Assets/Button/exit.png" type="Texture" id=6]
[ext_resource path="res://Assets/Button/exit pressed.png" type="Texture" id=7]
[ext_resource path="res://Assets/Button/exit hover.png" type="Texture" id=8]
[node name="MainMenu" type="Control"]
editor/display_folded = true
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
[node name="BG" type="Sprite" parent="."]
position = Vector2( 683, 384 )
texture = ExtResource( 2 )
[node name="StartBtn" type="TextureButton" parent="."]
margin_left = 535.0
margin_top = 350.0
margin_right = 956.0
margin_bottom = 542.0
rect_scale = Vector2( 0.7, 0.7 )
texture_normal = ExtResource( 3 )
texture_pressed = ExtResource( 4 )
texture_hover = ExtResource( 5 )
[node name="ExitBtn" type="TextureButton" parent="."]
margin_left = 535.0
margin_top = 500.0
margin_right = 956.0
margin_bottom = 692.0
rect_scale = Vector2( 0.7, 0.7 )
texture_normal = ExtResource( 6 )
texture_pressed = ExtResource( 7 )
texture_hover = ExtResource( 8 )
[connection signal="pressed" from="StartBtn" to="." method="_on_StartBtn_pressed"]
[connection signal="pressed" from="ExitBtn" to="." method="_on_ExitBtn_pressed"]