-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.tscn
40 lines (32 loc) · 1.2 KB
/
Main.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
[gd_scene load_steps=4 format=3 uid="uid://khk035n71rbu"]
[ext_resource type="Script" path="res://main.gd" id="1_e5kg3"]
[ext_resource type="Texture2D" uid="uid://cvx5y4pr77nw2" path="res://icon.svg" id="2_iuwuj"]
[ext_resource type="PackedScene" uid="uid://d4h67f283uoq3" path="res://parallax_background.tscn" id="3_pv1id"]
[node name="Main" type="Node2D"]
script = ExtResource("1_e5kg3")
[node name="Start" type="Button" parent="."]
offset_left = 496.0
offset_top = 240.0
offset_right = 704.0
offset_bottom = 319.0
text = "Start"
metadata/_edit_use_anchors_ = true
[node name="Quit" type="Button" parent="."]
offset_left = 496.0
offset_top = 432.0
offset_right = 704.0
offset_bottom = 511.0
tooltip_text = "Quit the game"
text = "Quit"
[node name="Settings" type="Button" parent="."]
offset_left = 496.0
offset_top = 336.0
offset_right = 704.0
offset_bottom = 416.0
text = "Settings"
[node name="Icon" type="Sprite2D" parent="."]
position = Vector2(1056, 552)
texture = ExtResource("2_iuwuj")
[node name="ParallaxBackground" parent="." instance=ExtResource("3_pv1id")]
[connection signal="pressed" from="Start" to="." method="_on_start_pressed"]
[connection signal="pressed" from="Quit" to="." method="_on_quit_pressed"]