File tree 4 files changed +47
-1
lines changed
4 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 1
1
[application]
2
2
3
3
name =" infinite-overlord"
4
- main_scene =" res://main .tscn"
4
+ main_scene =" res://start .tscn"
5
5
icon =" res://icon.png"
6
6
7
7
[display]
8
8
9
+ fullscreen =false
9
10
width =1980
10
11
height =1050
11
12
Original file line number Diff line number Diff line change
1
+ extends Node2D
2
+
3
+ func _on_StartButton_button_up ():
4
+ get_tree ().change_scene ("res://main.tscn" )
Original file line number Diff line number Diff line change
1
+ [gd_scene load_steps =5 format =1 ]
2
+
3
+ [ext_resource path ="res://start.gd" type ="Script" id =1 ]
4
+ [ext_resource path ="res://assets/bg.jpg" type ="Texture" id =2 ]
5
+ [ext_resource path ="res://assets/skull_title_text.png" type ="Texture" id =3 ]
6
+ [ext_resource path ="res://icon.png" type ="Texture" id =4 ]
7
+
8
+ [node name ="StartNode" type ="Node2D" ]
9
+
10
+ script/script = ExtResource ( 1 )
11
+
12
+ [node name ="Sprite" type ="Sprite" parent ="." ]
13
+
14
+ transform/pos = Vector2 ( 996.78 , 539.875 )
15
+ transform/scale = Vector2 ( 1.21552 , 1.16644 )
16
+ texture = ExtResource ( 2 )
17
+
18
+ [node name ="Sprite 2" type ="Sprite" parent ="." ]
19
+
20
+ transform/pos = Vector2 ( 1024.01 , 438.373 )
21
+ texture = ExtResource ( 3 )
22
+
23
+ [node name ="StartButton" type ="Button" parent ="." ]
24
+
25
+ focus/ignore_mouse = false
26
+ focus/stop_mouse = true
27
+ size_flags/horizontal = 2
28
+ size_flags/vertical = 2
29
+ margin/left = 979.0
30
+ margin/top = 709.0
31
+ margin/right = 1055.0
32
+ margin/bottom = 779.0
33
+ toggle_mode = false
34
+ enabled_focus_mode = 2
35
+ shortcut = null
36
+ icon = ExtResource ( 4 )
37
+ flat = false
38
+
39
+ [connection signal ="button_up" from ="StartButton" to ="." method ="_on_StartButton_button_up" ]
40
+
41
+
You can’t perform that action at this time.
0 commit comments