diff options
Diffstat (limited to 'scenes/menu.tscn')
-rw-r--r-- | scenes/menu.tscn | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scenes/menu.tscn b/scenes/menu.tscn index adb7754..0a69c87 100644 --- a/scenes/menu.tscn +++ b/scenes/menu.tscn @@ -1,11 +1,13 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=6 format=2] [ext_resource path="res://components/Logo.tscn" type="PackedScene" id=1] [ext_resource path="res://components/button.tscn" type="PackedScene" id=2] [ext_resource path="res://textures/backgrounds/background_grey.png" type="Texture" id=3] -[ext_resource path="res://textures/backgrounds/background_black.png" type="Texture" id=4] +[ext_resource path="res://textures/backgrounds/background_blue.png" type="Texture" id=4] +[ext_resource path="res://scenes/menu.gd" type="Script" id=5] [node name="Node2D" type="Node2D"] +script = ExtResource( 5 ) [node name="Sprite" type="Sprite" parent="."] position = Vector2( 640, 360 ) @@ -30,3 +32,4 @@ fixed_width = 150 [node name="Logo" parent="." instance=ExtResource( 1 )] position = Vector2( 640, 250 ) rotation = -1.74846e-07 +[connection signal="on_click" from="Exit" to="." method="_on_Exit_on_click"] |