-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_menu.scn.xml
143 lines (139 loc) · 6.7 KB
/
main_menu.scn.xml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?xml version="1.0" encoding="UTF-8" ?>
<resource_file type="PackedScene" subresource_count="6" version="2.0" version_name="Godot Engine v2.0.stable.official">
<ext_resource path="res://level_pick.gd" type="Script" index="1"></ext_resource>
<ext_resource path="res://Artwork/music/PianoMusic_IntroMusic_session.ogg" type="AudioStream" index="0"></ext_resource>
<resource type="GDScript" path="local://3">
<string name="script/source"> "extends Panel�a;�a;func _ready():�a;	set_process(true)�a;�a;func _process(delta):�a;	if Input.is_key_pressed(KEY_SPACE):�a;		# This is a hack but I'm too lazy to write proper code:�a;		get_node("/root/LevelBGM").play()�a;		get_tree().change_scene("res://level1.scn.xml")�a;	if Input.is_key_pressed(KEY_ESCAPE):�a;		get_tree().quit()�a;" </string>
</resource>
<resource type="GDScript" path="local://1">
<string name="script/source"> "extends Button�a;�a;func _pressed():�a;	var lvl = "res://level1.scn.xml"�a;	var sel = get_parent().get_node("LevelPick").get_selected()�a;	if sel != -1:�a;		lvl = "res://level" + str(sel+1) + ".scn.xml"�a;	get_tree().change_scene(lvl)�a;�a;" </string>
</resource>
<resource type="GDScript" path="local://2">
<string name="script/source"> "extends Button�a;�a;func _pressed():�a;	get_tree().quit()�a;" </string>
</resource>
<main_resource>
<dictionary name="_bundled" shared="false">
<string> "conn_count" </string>
<int> 0 </int>
<string> "conns" </string>
<int_array len="0"> </int_array>
<string> "editable_instances" </string>
<array len="0" shared="false">
</array>
<string> "names" </string>
<string_array len="42">
<string> "Panel" </string>
<string> "margin/right" </string>
<string> "margin/bottom" </string>
<string> "focus/ignore_mouse" </string>
<string> "focus/stop_mouse" </string>
<string> "size_flags/horizontal" </string>
<string> "size_flags/vertical" </string>
<string> "script/script" </string>
<string> "Label" </string>
<string> "margin/left" </string>
<string> "margin/top" </string>
<string> "rect/scale" </string>
<string> "custom_colors/font_color_shadow" </string>
<string> "text" </string>
<string> "align" </string>
<string> "percent_visible" </string>
<string> "lines_skipped" </string>
<string> "max_lines_visible" </string>
<string> "Button" </string>
<string> "toggle_mode" </string>
<string> "click_on_press" </string>
<string> "flat" </string>
<string> "Button1" </string>
<string> "StreamPlayer" </string>
<string> "stream/stream" </string>
<string> "stream/play" </string>
<string> "stream/loop" </string>
<string> "stream/volume_db" </string>
<string> "stream/autoplay" </string>
<string> "stream/paused" </string>
<string> "stream/loop_restart_time" </string>
<string> "stream/buffering_ms" </string>
<string> "Label 2" </string>
<string> "valign" </string>
<string> "Label3" </string>
<string> "Label4" </string>
<string> "custom_colors/font_color" </string>
<string> "LevelPick" </string>
<string> "selected" </string>
<string> "items" </string>
<string> "OptionButton" </string>
<string> "Label1" </string>
</string_array>
<string> "node_count" </string>
<int> 10 </int>
<string> "node_paths" </string>
<array len="0" shared="false">
</array>
<string> "nodes" </string>
<int_array len="318"> -1, -1, 0, 0, -1, 7, 1, 0, 2, 1, 3, 2, 4, 3, 5, 4, 6, 4, 7, 5, 0, 0, 0, 8, 8, -1, 14, 9, 6, 10, 7, 1, 8, 2, 9, 11, 10, 3, 3, 4, 3, 5, 4, 12, 11, 13, 12, 14, 13, 15, 14, 16, 15, 17, 16, 0, 0, 0, 18, 18, -1, 13, 9, 17, 10, 18, 1, 19, 2, 20, 3, 2, 4, 3, 5, 4, 6, 4, 19, 2, 20, 3, 13, 21, 21, 2, 7, 22, 0, 0, 0, 18, 22, -1, 13, 9, 17, 10, 23, 1, 19, 2, 24, 3, 2, 4, 3, 5, 4, 6, 4, 19, 2, 20, 3, 13, 25, 21, 2, 7, 26, 0, 0, 0, 23, 23, -1, 8, 24, 27, 25, 2, 26, 2, 27, 28, 28, 3, 29, 2, 30, 28, 31, 29, 0, 0, 0, 8, 32, -1, 13, 9, 30, 10, 31, 1, 32, 2, 33, 3, 3, 4, 3, 5, 4, 13, 34, 14, 13, 33, 4, 15, 14, 16, 15, 17, 16, 0, 0, 0, 8, 34, -1, 13, 9, 19, 10, 31, 1, 35, 2, 33, 3, 3, 4, 3, 5, 4, 13, 36, 14, 4, 33, 4, 15, 14, 16, 15, 17, 16, 0, 0, 0, 8, 35, -1, 16, 9, 37, 10, 38, 1, 39, 2, 40, 11, 41, 3, 3, 4, 3, 5, 4, 36, 42, 12, 11, 13, 43, 14, 13, 33, 4, 15, 14, 16, 15, 17, 16, 0, 0, 0, 40, 37, -1, 14, 9, 44, 10, 45, 1, 46, 2, 47, 3, 2, 4, 3, 5, 4, 6, 4, 19, 2, 21, 2, 14, 15, 38, 16, 39, 48, 7, 49, 0, 0, 0, 8, 41, -1, 13, 9, 50, 10, 51, 1, 52, 2, 53, 11, 54, 3, 3, 4, 3, 5, 4, 13, 55, 14, 13, 15, 14, 16, 15, 17, 16, 0 </int_array>
<string> "variants" </string>
<array len="56" shared="false">
<real> 1280 </real>
<real> 768 </real>
<bool> False </bool>
<bool> True </bool>
<int> 2 </int>
<resource resource_type="Script" path="local://3"> </resource>
<real> 305 </real>
<real> 87 </real>
<real> 377 </real>
<real> 100 </real>
<vector2> 8, 8 </vector2>
<color> 0, 0, 0, 1 </color>
<string> "Spyshifting" </string>
<int> 1 </int>
<real> 1 </real>
<int> 0 </int>
<int> -1 </int>
<real> 864 </real>
<real> 288 </real>
<real> 960 </real>
<real> 320 </real>
<string> "Play" </string>
<resource resource_type="Script" path="local://1"> </resource>
<real> 352 </real>
<real> 384 </real>
<string> "Exit" </string>
<resource resource_type="Script" path="local://2"> </resource>
<resource external="0"> </resource>
<real> 0 </real>
<int> 500 </int>
<real> 64 </real>
<real> 640 </real>
<real> 256 </real>
<real> 704 </real>
<string> "Created for Ludum Dare 35 jam.�a;Theme: Shapeshifting." </string>
<real> 1216 </real>
<string> "(c) 2016 morg & ivucica.�a;Licensed under GNU GPL v2 or later." </string>
<real> 413 </real>
<real> 517 </real>
<real> 620 </real>
<real> 544 </real>
<vector2> 2, 2 </vector2>
<color> 0.875, 0.283691, 0.325268, 1 </color>
<string> "Press [SPACE] to play.�a;Press [ESCAPE] to quit." </string>
<real> 832 </real>
<real> 416 </real>
<real> 992 </real>
<real> 435 </real>
<array len="0" shared="false">
</array>
<resource external="1"> </resource>
<real> 195 </real>
<real> 329 </real>
<real> 390 </real>
<real> 357 </real>
<vector2> 2.5, 2.5 </vector2>
<string> "Sneak around the enemy base but�a;don't get detected!" </string>
</array>
<string> "version" </string>
<int> 2 </int>
</dictionary>
</main_resource>
</resource_file>