BooRaceMenu.tscn 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
  1. [gd_scene load_steps=45 format=3 uid="uid://b7no88iaujhh3"]
  2. [ext_resource type="Script" uid="uid://b08qfwj5jk6g1" path="res://Scripts/Parts/PlayerSprite.gd" id="1_0b6w1"]
  3. [ext_resource type="Script" uid="uid://b3ol0iyjcb5n1" path="res://Scripts/UI/BooRaceMenu.gd" id="1_nk4wu"]
  4. [ext_resource type="AudioStream" uid="uid://ehcskhcpqrgh" path="res://Assets/Audio/BGM/BooMenu.mp3" id="1_uucdm"]
  5. [ext_resource type="Theme" uid="uid://dtn507x2b5de7" path="res://Resources/Theme.tres" id="2_2t6wu"]
  6. [ext_resource type="Texture2D" uid="uid://dcyoojhkaekws" path="res://Assets/Sprites/UI/BooMenuBG.png" id="2_dwawm"]
  7. [ext_resource type="Texture2D" uid="uid://c3l6ynlufxcfp" path="res://Assets/Sprites/Enemies/Boo.png" id="3_b56au"]
  8. [ext_resource type="Script" uid="uid://ca3bew33g45eq" path="res://Scripts/Classes/UI/PackTextureRect.gd" id="3_dwawm"]
  9. [ext_resource type="Texture2D" uid="uid://bhuybr2gtuco5" path="res://Assets/Sprites/UI/MenuBG.png" id="3_wunmb"]
  10. [ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="4_idhu2"]
  11. [ext_resource type="Texture2D" uid="uid://cld412rcrq5o0" path="res://Assets/Sprites/UI/YouVsBoo.png" id="4_nhs2i"]
  12. [ext_resource type="Texture2D" uid="uid://3ai0ggxah360" path="res://Assets/Sprites/UI/MenuBorder.png" id="4_vpste"]
  13. [ext_resource type="SpriteFrames" uid="uid://cjblhx4flkqva" path="res://Resources/SpriteFrames/Player/Mario/Big.tres" id="5_nhs2i"]
  14. [ext_resource type="Script" uid="uid://364rywt44hy6" path="res://Scripts/Classes/UI/PackSprite.gd" id="5_tgnw3"]
  15. [ext_resource type="JSON" path="res://Assets/Sprites/UI/Cursor.json" id="8_2t6wu"]
  16. [ext_resource type="Script" uid="uid://caq1qiwmy0mox" path="res://Scripts/Parts/BetterAnimatedSprite.gd" id="8_jl8ul"]
  17. [ext_resource type="JSON" path="res://Assets/Sprites/UI/MenuBorder.json" id="8_vpste"]
  18. [ext_resource type="JSON" path="res://Assets/Sprites/UI/MenuBG.json" id="8_wunmb"]
  19. [ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="8_xx8pl"]
  20. [ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="9_mm3k3"]
  21. [ext_resource type="Texture2D" uid="uid://3p2l7rec0gh5" path="res://Assets/Sprites/UI/Cursor.png" id="10_nk4wu"]
  22. [ext_resource type="PackedScene" uid="uid://bxp1l23w1kq41" path="res://Scenes/Prefabs/UI/BooSelect.tscn" id="12_pinst"]
  23. [ext_resource type="JSON" path="res://Assets/Sprites/Enemies/RaceBoo.json" id="12_tgnw3"]
  24. [ext_resource type="PackedScene" uid="uid://ci678koo0peoa" path="res://Scenes/Prefabs/UI/CharacterSelect.tscn" id="13_u5tsp"]
  25. [ext_resource type="Script" uid="uid://cqif1li7otvpl" path="res://Scripts/Parts/SpriteFramesToJsonConverter.gd" id="16_e7l5x"]
  26. [ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="17_e7l5x"]
  27. [ext_resource type="Texture2D" uid="uid://dtemc0qgag20j" path="res://Assets/Sprites/UI/BooIcon.png" id="21_vpste"]
  28. [sub_resource type="Shader" id="Shader_mm3k3"]
  29. code = "shader_type canvas_item;
  30. uniform vec2 motion = vec2(0.0);
  31. uniform float scale = 1.0;
  32. uniform vec2 offset = vec2(0.0);
  33. void vertex(){
  34. UV = (VERTEX + offset + TIME * motion) * TEXTURE_PIXEL_SIZE * (1.0/scale);
  35. }"
  36. [sub_resource type="ShaderMaterial" id="ShaderMaterial_nk4wu"]
  37. shader = SubResource("Shader_mm3k3")
  38. shader_parameter/motion = Vector2(-8, -8)
  39. shader_parameter/scale = 1.0
  40. shader_parameter/offset = Vector2(0, 0)
  41. [sub_resource type="AtlasTexture" id="AtlasTexture_hpo87"]
  42. atlas = ExtResource("10_nk4wu")
  43. region = Rect2(0, 0, 8, 8)
  44. [sub_resource type="StyleBoxLine" id="StyleBoxLine_vpste"]
  45. color = Color(1, 1, 1, 1)
  46. [sub_resource type="Animation" id="Animation_mm3k3"]
  47. length = 0.001
  48. tracks/0/type = "value"
  49. tracks/0/imported = false
  50. tracks/0/enabled = true
  51. tracks/0/path = NodePath("..:position")
  52. tracks/0/interp = 1
  53. tracks/0/loop_wrap = true
  54. tracks/0/keys = {
  55. "times": PackedFloat32Array(0),
  56. "transitions": PackedFloat32Array(1),
  57. "update": 0,
  58. "values": [Vector2(172, 96)]
  59. }
  60. [sub_resource type="Animation" id="Animation_jl8ul"]
  61. resource_name = "Wave"
  62. loop_mode = 2
  63. tracks/0/type = "value"
  64. tracks/0/imported = false
  65. tracks/0/enabled = true
  66. tracks/0/path = NodePath("..:position")
  67. tracks/0/interp = 2
  68. tracks/0/loop_wrap = true
  69. tracks/0/keys = {
  70. "times": PackedFloat32Array(0, 1),
  71. "transitions": PackedFloat32Array(1, 1),
  72. "update": 0,
  73. "values": [Vector2(104, -43), Vector2(104, -56)]
  74. }
  75. [sub_resource type="AnimationLibrary" id="AnimationLibrary_nk4wu"]
  76. _data = {
  77. &"RESET": SubResource("Animation_mm3k3"),
  78. &"Wave": SubResource("Animation_jl8ul")
  79. }
  80. [sub_resource type="AtlasTexture" id="AtlasTexture_mm3k3"]
  81. atlas = ExtResource("3_b56au")
  82. region = Rect2(16, 48, 16, 16)
  83. [sub_resource type="AtlasTexture" id="AtlasTexture_nk4wu"]
  84. atlas = ExtResource("3_b56au")
  85. region = Rect2(0, 48, 16, 16)
  86. [sub_resource type="AtlasTexture" id="AtlasTexture_ede5m"]
  87. atlas = ExtResource("3_b56au")
  88. region = Rect2(16, 64, 16, 16)
  89. [sub_resource type="AtlasTexture" id="AtlasTexture_pinst"]
  90. atlas = ExtResource("3_b56au")
  91. region = Rect2(0, 64, 16, 16)
  92. [sub_resource type="AtlasTexture" id="AtlasTexture_u5tsp"]
  93. atlas = ExtResource("3_b56au")
  94. region = Rect2(16, 16, 16, 16)
  95. [sub_resource type="AtlasTexture" id="AtlasTexture_xx8pl"]
  96. atlas = ExtResource("3_b56au")
  97. region = Rect2(0, 16, 16, 16)
  98. [sub_resource type="AtlasTexture" id="AtlasTexture_jrwk8"]
  99. atlas = ExtResource("3_b56au")
  100. region = Rect2(16, 32, 16, 16)
  101. [sub_resource type="AtlasTexture" id="AtlasTexture_fwe35"]
  102. atlas = ExtResource("3_b56au")
  103. region = Rect2(0, 32, 16, 16)
  104. [sub_resource type="AtlasTexture" id="AtlasTexture_e7l5x"]
  105. atlas = ExtResource("3_b56au")
  106. region = Rect2(16, 0, 16, 16)
  107. [sub_resource type="AtlasTexture" id="AtlasTexture_d7k1s"]
  108. atlas = ExtResource("3_b56au")
  109. region = Rect2(0, 0, 16, 16)
  110. [sub_resource type="SpriteFrames" id="SpriteFrames_d3w3b"]
  111. animations = [{
  112. "frames": [{
  113. "duration": 1.0,
  114. "texture": SubResource("AtlasTexture_mm3k3")
  115. }],
  116. "loop": true,
  117. "name": &"BlackIdle",
  118. "speed": 5.0
  119. }, {
  120. "frames": [{
  121. "duration": 1.0,
  122. "texture": SubResource("AtlasTexture_nk4wu")
  123. }],
  124. "loop": true,
  125. "name": &"BlackMove",
  126. "speed": 5.0
  127. }, {
  128. "frames": [{
  129. "duration": 1.0,
  130. "texture": SubResource("AtlasTexture_ede5m")
  131. }],
  132. "loop": true,
  133. "name": &"GoldIdle",
  134. "speed": 5.0
  135. }, {
  136. "frames": [{
  137. "duration": 1.0,
  138. "texture": SubResource("AtlasTexture_pinst")
  139. }],
  140. "loop": true,
  141. "name": &"GoldMove",
  142. "speed": 5.0
  143. }, {
  144. "frames": [{
  145. "duration": 1.0,
  146. "texture": SubResource("AtlasTexture_u5tsp")
  147. }],
  148. "loop": true,
  149. "name": &"GreenIdle",
  150. "speed": 5.0
  151. }, {
  152. "frames": [{
  153. "duration": 1.0,
  154. "texture": SubResource("AtlasTexture_xx8pl")
  155. }],
  156. "loop": true,
  157. "name": &"GreenMove",
  158. "speed": 5.0
  159. }, {
  160. "frames": [{
  161. "duration": 1.0,
  162. "texture": SubResource("AtlasTexture_jrwk8")
  163. }],
  164. "loop": true,
  165. "name": &"RedIdle",
  166. "speed": 5.0
  167. }, {
  168. "frames": [{
  169. "duration": 1.0,
  170. "texture": SubResource("AtlasTexture_fwe35")
  171. }],
  172. "loop": true,
  173. "name": &"RedMove",
  174. "speed": 5.0
  175. }, {
  176. "frames": [{
  177. "duration": 1.0,
  178. "texture": SubResource("AtlasTexture_e7l5x")
  179. }],
  180. "loop": true,
  181. "name": &"WhiteIdle",
  182. "speed": 5.0
  183. }, {
  184. "frames": [{
  185. "duration": 1.0,
  186. "texture": SubResource("AtlasTexture_d7k1s")
  187. }],
  188. "loop": true,
  189. "name": &"WhiteMove",
  190. "speed": 5.0
  191. }]
  192. [node name="BooRaceMenu" type="Node"]
  193. script = ExtResource("1_nk4wu")
  194. [node name="Control" type="Control" parent="."]
  195. layout_mode = 3
  196. anchors_preset = 0
  197. offset_right = 40.0
  198. offset_bottom = 40.0
  199. [node name="BG" type="NinePatchRect" parent="."]
  200. texture_repeat = 2
  201. anchors_preset = 15
  202. anchor_right = 1.0
  203. anchor_bottom = 1.0
  204. grow_horizontal = 2
  205. grow_vertical = 2
  206. theme = ExtResource("2_2t6wu")
  207. texture = ExtResource("3_wunmb")
  208. region_rect = Rect2(0, 0, 16, 16)
  209. axis_stretch_horizontal = 1
  210. axis_stretch_vertical = 1
  211. [node name="Border" type="NinePatchRect" parent="BG"]
  212. layout_mode = 1
  213. anchors_preset = -1
  214. anchor_left = 0.05
  215. anchor_right = 0.95
  216. anchor_bottom = 1.0
  217. grow_horizontal = 2
  218. grow_vertical = 2
  219. texture = ExtResource("4_vpste")
  220. region_rect = Rect2(0, 0, 32, 32)
  221. patch_margin_left = 8
  222. patch_margin_top = 8
  223. patch_margin_right = 8
  224. patch_margin_bottom = 8
  225. axis_stretch_horizontal = 2
  226. axis_stretch_vertical = 2
  227. metadata/_custom_type_script = "uid://xem6lai3ufyj"
  228. [node name="BG" type="TextureRect" parent="BG/Border"]
  229. show_behind_parent = true
  230. material = SubResource("ShaderMaterial_nk4wu")
  231. layout_mode = 1
  232. anchors_preset = 15
  233. anchor_right = 1.0
  234. anchor_bottom = 1.0
  235. grow_horizontal = 2
  236. grow_vertical = 2
  237. texture = ExtResource("2_dwawm")
  238. stretch_mode = 1
  239. script = ExtResource("3_dwawm")
  240. metadata/_custom_type_script = "uid://ca3bew33g45eq"
  241. [node name="ResourceSetterNew" type="Node" parent="BG/Border" node_paths=PackedStringArray("node_to_affect")]
  242. script = ExtResource("8_xx8pl")
  243. node_to_affect = NodePath("..")
  244. property_name = "texture"
  245. mode = 1
  246. resource_json = ExtResource("8_vpste")
  247. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  248. [node name="ResourceSetterNew" type="Node" parent="BG" node_paths=PackedStringArray("node_to_affect")]
  249. script = ExtResource("8_xx8pl")
  250. node_to_affect = NodePath("..")
  251. property_name = "texture"
  252. mode = 1
  253. resource_json = ExtResource("8_wunmb")
  254. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  255. [node name="Music" type="AudioStreamPlayer" parent="."]
  256. stream = ExtResource("1_uucdm")
  257. autoplay = true
  258. bus = &"Music"
  259. [node name="PanelContainer" type="PanelContainer" parent="."]
  260. anchors_preset = 8
  261. anchor_left = 0.5
  262. anchor_top = 0.5
  263. anchor_right = 0.5
  264. anchor_bottom = 0.5
  265. offset_left = -60.0
  266. offset_top = -18.0
  267. offset_right = 60.0
  268. offset_bottom = 86.0
  269. grow_horizontal = 2
  270. grow_vertical = 2
  271. theme_override_styles/panel = ExtResource("9_mm3k3")
  272. [node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
  273. layout_mode = 2
  274. theme_override_constants/margin_left = -2
  275. theme_override_constants/margin_top = -2
  276. theme_override_constants/margin_right = -2
  277. theme_override_constants/margin_bottom = -2
  278. [node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
  279. layout_mode = 2
  280. [node name="LevelLabels" type="VFlowContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
  281. unique_name_in_owner = true
  282. layout_mode = 2
  283. size_flags_vertical = 3
  284. theme_override_constants/v_separation = 0
  285. [node name="1-1" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
  286. layout_mode = 2
  287. size_flags_vertical = 3
  288. focus_mode = 2
  289. mouse_filter = 2
  290. theme_override_constants/separation = -2
  291. [node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1"]
  292. custom_minimum_size = Vector2(8, 0)
  293. layout_mode = 2
  294. [node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1/Cursor"]
  295. visible = false
  296. layout_mode = 0
  297. offset_right = 8.0
  298. offset_bottom = 16.0
  299. texture = SubResource("AtlasTexture_hpo87")
  300. stretch_mode = 3
  301. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
  302. script = ExtResource("8_xx8pl")
  303. node_to_affect = NodePath("..")
  304. property_name = "texture"
  305. mode = 1
  306. resource_json = ExtResource("8_2t6wu")
  307. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  308. [node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1"]
  309. layout_mode = 2
  310. text = "1-1"
  311. [node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1"]
  312. layout_mode = 2
  313. [node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1/Control"]
  314. texture = ExtResource("21_vpste")
  315. centered = false
  316. hframes = 5
  317. script = ExtResource("5_tgnw3")
  318. metadata/_custom_type_script = "uid://364rywt44hy6"
  319. [node name="1-2" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
  320. layout_mode = 2
  321. size_flags_vertical = 3
  322. focus_mode = 2
  323. mouse_filter = 2
  324. theme_override_constants/separation = -2
  325. [node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2"]
  326. custom_minimum_size = Vector2(8, 0)
  327. layout_mode = 2
  328. [node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2/Cursor"]
  329. visible = false
  330. layout_mode = 0
  331. offset_right = 8.0
  332. offset_bottom = 16.0
  333. texture = SubResource("AtlasTexture_hpo87")
  334. stretch_mode = 3
  335. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
  336. script = ExtResource("8_xx8pl")
  337. node_to_affect = NodePath("..")
  338. property_name = "texture"
  339. mode = 1
  340. resource_json = ExtResource("8_2t6wu")
  341. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  342. [node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2"]
  343. layout_mode = 2
  344. text = "1-2"
  345. [node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2"]
  346. custom_minimum_size = Vector2(16, 0)
  347. layout_mode = 2
  348. [node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2/Control"]
  349. texture = ExtResource("21_vpste")
  350. centered = false
  351. hframes = 5
  352. script = ExtResource("5_tgnw3")
  353. metadata/_custom_type_script = "uid://364rywt44hy6"
  354. [node name="1-3" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
  355. layout_mode = 2
  356. size_flags_vertical = 3
  357. focus_mode = 2
  358. mouse_filter = 2
  359. theme_override_constants/separation = -2
  360. [node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3"]
  361. custom_minimum_size = Vector2(8, 0)
  362. layout_mode = 2
  363. [node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3/Cursor"]
  364. visible = false
  365. layout_mode = 0
  366. offset_right = 8.0
  367. offset_bottom = 16.0
  368. texture = SubResource("AtlasTexture_hpo87")
  369. stretch_mode = 3
  370. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
  371. script = ExtResource("8_xx8pl")
  372. node_to_affect = NodePath("..")
  373. property_name = "texture"
  374. mode = 1
  375. resource_json = ExtResource("8_2t6wu")
  376. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  377. [node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3"]
  378. layout_mode = 2
  379. text = "1-3"
  380. [node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3"]
  381. custom_minimum_size = Vector2(16, 0)
  382. layout_mode = 2
  383. [node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3/Control"]
  384. texture = ExtResource("21_vpste")
  385. centered = false
  386. hframes = 5
  387. script = ExtResource("5_tgnw3")
  388. metadata/_custom_type_script = "uid://364rywt44hy6"
  389. [node name="1-4" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
  390. layout_mode = 2
  391. size_flags_vertical = 3
  392. focus_mode = 2
  393. mouse_filter = 2
  394. theme_override_constants/separation = -2
  395. [node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4"]
  396. custom_minimum_size = Vector2(8, 0)
  397. layout_mode = 2
  398. [node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4/Cursor"]
  399. visible = false
  400. layout_mode = 0
  401. offset_right = 8.0
  402. offset_bottom = 16.0
  403. texture = SubResource("AtlasTexture_hpo87")
  404. stretch_mode = 3
  405. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
  406. script = ExtResource("8_xx8pl")
  407. node_to_affect = NodePath("..")
  408. property_name = "texture"
  409. mode = 1
  410. resource_json = ExtResource("8_2t6wu")
  411. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  412. [node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4"]
  413. layout_mode = 2
  414. text = "1-4"
  415. [node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4"]
  416. custom_minimum_size = Vector2(16, 0)
  417. layout_mode = 2
  418. [node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4/Control"]
  419. texture = ExtResource("21_vpste")
  420. centered = false
  421. hframes = 5
  422. script = ExtResource("5_tgnw3")
  423. metadata/_custom_type_script = "uid://364rywt44hy6"
  424. [node name="2-1" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
  425. layout_mode = 2
  426. size_flags_vertical = 3
  427. focus_mode = 2
  428. mouse_filter = 2
  429. theme_override_constants/separation = -2
  430. [node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1"]
  431. custom_minimum_size = Vector2(8, 0)
  432. layout_mode = 2
  433. [node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1/Cursor"]
  434. visible = false
  435. layout_mode = 0
  436. offset_right = 8.0
  437. offset_bottom = 16.0
  438. texture = SubResource("AtlasTexture_hpo87")
  439. stretch_mode = 3
  440. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
  441. script = ExtResource("8_xx8pl")
  442. node_to_affect = NodePath("..")
  443. property_name = "texture"
  444. mode = 1
  445. resource_json = ExtResource("8_2t6wu")
  446. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  447. [node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1"]
  448. layout_mode = 2
  449. text = "2-1"
  450. [node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1"]
  451. custom_minimum_size = Vector2(16, 0)
  452. layout_mode = 2
  453. [node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1/Control"]
  454. texture = ExtResource("21_vpste")
  455. centered = false
  456. hframes = 5
  457. script = ExtResource("5_tgnw3")
  458. metadata/_custom_type_script = "uid://364rywt44hy6"
  459. [node name="2-2" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
  460. layout_mode = 2
  461. size_flags_vertical = 3
  462. focus_mode = 2
  463. mouse_filter = 2
  464. theme_override_constants/separation = -2
  465. [node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2"]
  466. custom_minimum_size = Vector2(8, 0)
  467. layout_mode = 2
  468. [node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2/Cursor"]
  469. visible = false
  470. layout_mode = 0
  471. offset_right = 8.0
  472. offset_bottom = 16.0
  473. texture = SubResource("AtlasTexture_hpo87")
  474. stretch_mode = 3
  475. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
  476. script = ExtResource("8_xx8pl")
  477. node_to_affect = NodePath("..")
  478. property_name = "texture"
  479. mode = 1
  480. resource_json = ExtResource("8_2t6wu")
  481. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  482. [node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2"]
  483. layout_mode = 2
  484. text = "2-2"
  485. [node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2"]
  486. custom_minimum_size = Vector2(16, 0)
  487. layout_mode = 2
  488. [node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2/Control"]
  489. texture = ExtResource("21_vpste")
  490. centered = false
  491. hframes = 5
  492. script = ExtResource("5_tgnw3")
  493. metadata/_custom_type_script = "uid://364rywt44hy6"
  494. [node name="2-3" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
  495. layout_mode = 2
  496. size_flags_vertical = 3
  497. focus_mode = 2
  498. mouse_filter = 2
  499. theme_override_constants/separation = -2
  500. [node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3"]
  501. custom_minimum_size = Vector2(8, 0)
  502. layout_mode = 2
  503. [node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3/Cursor"]
  504. visible = false
  505. layout_mode = 0
  506. offset_right = 8.0
  507. offset_bottom = 16.0
  508. texture = SubResource("AtlasTexture_hpo87")
  509. stretch_mode = 3
  510. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
  511. script = ExtResource("8_xx8pl")
  512. node_to_affect = NodePath("..")
  513. property_name = "texture"
  514. mode = 1
  515. resource_json = ExtResource("8_2t6wu")
  516. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  517. [node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3"]
  518. layout_mode = 2
  519. text = "2-3"
  520. [node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3"]
  521. custom_minimum_size = Vector2(16, 0)
  522. layout_mode = 2
  523. [node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3/Control"]
  524. texture = ExtResource("21_vpste")
  525. centered = false
  526. hframes = 5
  527. script = ExtResource("5_tgnw3")
  528. metadata/_custom_type_script = "uid://364rywt44hy6"
  529. [node name="2-4" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
  530. layout_mode = 2
  531. size_flags_vertical = 3
  532. focus_mode = 2
  533. mouse_filter = 2
  534. theme_override_constants/separation = -2
  535. [node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4"]
  536. custom_minimum_size = Vector2(8, 0)
  537. layout_mode = 2
  538. [node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4/Cursor"]
  539. visible = false
  540. layout_mode = 0
  541. offset_right = 8.0
  542. offset_bottom = 16.0
  543. texture = SubResource("AtlasTexture_hpo87")
  544. stretch_mode = 3
  545. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
  546. script = ExtResource("8_xx8pl")
  547. node_to_affect = NodePath("..")
  548. property_name = "texture"
  549. mode = 1
  550. resource_json = ExtResource("8_2t6wu")
  551. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  552. [node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4"]
  553. layout_mode = 2
  554. text = "2-4"
  555. [node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4"]
  556. custom_minimum_size = Vector2(16, 0)
  557. layout_mode = 2
  558. [node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4/Control"]
  559. texture = ExtResource("21_vpste")
  560. centered = false
  561. hframes = 5
  562. script = ExtResource("5_tgnw3")
  563. metadata/_custom_type_script = "uid://364rywt44hy6"
  564. [node name="HSeparator" type="HSeparator" parent="PanelContainer/MarginContainer/VBoxContainer"]
  565. layout_mode = 2
  566. theme_override_styles/separator = SubResource("StyleBoxLine_vpste")
  567. [node name="PB" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
  568. unique_name_in_owner = true
  569. layout_mode = 2
  570. text = "PB: 00:00:00"
  571. [node name="Logo" type="Sprite2D" parent="PanelContainer"]
  572. position = Vector2(60, -27)
  573. texture = ExtResource("4_nhs2i")
  574. script = ExtResource("5_tgnw3")
  575. metadata/_custom_type_script = "uid://364rywt44hy6"
  576. [node name="PlayerSprite" type="AnimatedSprite2D" parent="PanelContainer" node_paths=PackedStringArray("resource_setter")]
  577. position = Vector2(17, -34)
  578. sprite_frames = ExtResource("5_nhs2i")
  579. animation = &"Idle"
  580. offset = Vector2(0, -15)
  581. script = ExtResource("1_0b6w1")
  582. force_power_state = "Small"
  583. resource_setter = NodePath("ResourceSetterNew")
  584. metadata/_custom_type_script = "uid://b08qfwj5jk6g1"
  585. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/PlayerSprite"]
  586. script = ExtResource("8_xx8pl")
  587. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  588. [node name="Boos" type="Node2D" parent="PanelContainer"]
  589. unique_name_in_owner = true
  590. position = Vector2(172, 96)
  591. [node name="WaveAnimation" type="AnimationPlayer" parent="PanelContainer/Boos"]
  592. root_node = NodePath("../0")
  593. libraries = {
  594. &"": SubResource("AnimationLibrary_nk4wu")
  595. }
  596. autoplay = "Wave"
  597. [node name="0" type="AnimatedSprite2D" parent="PanelContainer/Boos"]
  598. sprite_frames = SubResource("SpriteFrames_d3w3b")
  599. animation = &"GreenIdle"
  600. script = ExtResource("8_jl8ul")
  601. do_offset = false
  602. metadata/_custom_type_script = "uid://caq1qiwmy0mox"
  603. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/Boos/0" node_paths=PackedStringArray("node_to_affect")]
  604. script = ExtResource("8_xx8pl")
  605. node_to_affect = NodePath("..")
  606. property_name = "sprite_frames"
  607. resource_json = ExtResource("12_tgnw3")
  608. force_properties = {
  609. "RaceBoo": 0
  610. }
  611. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  612. [node name="1" type="AnimatedSprite2D" parent="PanelContainer/Boos"]
  613. sprite_frames = SubResource("SpriteFrames_d3w3b")
  614. animation = &"GreenIdle"
  615. script = ExtResource("8_jl8ul")
  616. do_offset = false
  617. metadata/_custom_type_script = "uid://caq1qiwmy0mox"
  618. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/Boos/1" node_paths=PackedStringArray("node_to_affect")]
  619. script = ExtResource("8_xx8pl")
  620. node_to_affect = NodePath("..")
  621. property_name = "sprite_frames"
  622. resource_json = ExtResource("12_tgnw3")
  623. force_properties = {
  624. "RaceBoo": 1
  625. }
  626. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  627. [node name="2" type="AnimatedSprite2D" parent="PanelContainer/Boos"]
  628. sprite_frames = SubResource("SpriteFrames_d3w3b")
  629. animation = &"GreenIdle"
  630. script = ExtResource("8_jl8ul")
  631. do_offset = false
  632. metadata/_custom_type_script = "uid://caq1qiwmy0mox"
  633. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/Boos/2" node_paths=PackedStringArray("node_to_affect")]
  634. script = ExtResource("8_xx8pl")
  635. node_to_affect = NodePath("..")
  636. property_name = "sprite_frames"
  637. resource_json = ExtResource("12_tgnw3")
  638. force_properties = {
  639. "RaceBoo": 2
  640. }
  641. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  642. [node name="3" type="AnimatedSprite2D" parent="PanelContainer/Boos"]
  643. sprite_frames = SubResource("SpriteFrames_d3w3b")
  644. animation = &"GreenIdle"
  645. script = ExtResource("8_jl8ul")
  646. do_offset = false
  647. metadata/_custom_type_script = "uid://caq1qiwmy0mox"
  648. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/Boos/3" node_paths=PackedStringArray("node_to_affect")]
  649. script = ExtResource("8_xx8pl")
  650. node_to_affect = NodePath("..")
  651. property_name = "sprite_frames"
  652. resource_json = ExtResource("12_tgnw3")
  653. force_properties = {
  654. "RaceBoo": 3
  655. }
  656. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  657. [node name="4" type="AnimatedSprite2D" parent="PanelContainer/Boos"]
  658. sprite_frames = SubResource("SpriteFrames_d3w3b")
  659. animation = &"GreenIdle"
  660. script = ExtResource("8_jl8ul")
  661. do_offset = false
  662. metadata/_custom_type_script = "uid://caq1qiwmy0mox"
  663. [node name="ResourceSetterNew" type="Node" parent="PanelContainer/Boos/4" node_paths=PackedStringArray("node_to_affect")]
  664. script = ExtResource("8_xx8pl")
  665. node_to_affect = NodePath("..")
  666. property_name = "sprite_frames"
  667. resource_json = ExtResource("12_tgnw3")
  668. force_properties = {
  669. "RaceBoo": 4
  670. }
  671. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
  672. [node name="BooSelect" parent="." instance=ExtResource("12_pinst")]
  673. visible = false
  674. anchors_preset = 8
  675. anchor_left = 0.5
  676. anchor_top = 0.5
  677. anchor_right = 0.5
  678. anchor_bottom = 0.5
  679. offset_left = -46.25
  680. offset_top = -28.0
  681. offset_right = 46.25
  682. offset_bottom = 28.0
  683. grow_horizontal = 2
  684. grow_vertical = 2
  685. [node name="CharacterSelect" parent="." instance=ExtResource("13_u5tsp")]
  686. visible = false
  687. z_as_relative = false
  688. offset_left = 0.0
  689. offset_top = 0.0
  690. offset_right = 0.0
  691. offset_bottom = 0.0
  692. [node name="ThemedToJSONConverter" type="Node" parent="."]
  693. script = ExtResource("16_e7l5x")
  694. metadata/_custom_type_script = "uid://cqif1li7otvpl"
  695. [node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
  696. script = ExtResource("17_e7l5x")
  697. labels = [null, null, null, null, null, null, null, null]
  698. metadata/_custom_type_script = "uid://co6tjg3w6qpd8"
  699. [node name="DropShadow" parent="." instance=ExtResource("4_idhu2")]
  700. position = Vector2(0, -40)
  701. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1/Cursor/Texture" method="show"]
  702. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1" to="." method="set_current_level_idx" binds= [0]]
  703. [connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1/Cursor/Texture" method="hide"]
  704. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2/Cursor/Texture" method="show"]
  705. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2" to="." method="set_current_level_idx" binds= [1]]
  706. [connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2/Cursor/Texture" method="hide"]
  707. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3/Cursor/Texture" method="show"]
  708. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3" to="." method="set_current_level_idx" binds= [2]]
  709. [connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3/Cursor/Texture" method="hide"]
  710. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4/Cursor/Texture" method="show"]
  711. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4" to="." method="set_current_level_idx" binds= [3]]
  712. [connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4/Cursor/Texture" method="hide"]
  713. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1/Cursor/Texture" method="show"]
  714. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1" to="." method="set_current_level_idx" binds= [4]]
  715. [connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1/Cursor/Texture" method="hide"]
  716. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2/Cursor/Texture" method="show"]
  717. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2" to="." method="set_current_level_idx" binds= [5]]
  718. [connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2/Cursor/Texture" method="hide"]
  719. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3/Cursor/Texture" method="show"]
  720. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3" to="." method="set_current_level_idx" binds= [6]]
  721. [connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3/Cursor/Texture" method="hide"]
  722. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4/Cursor/Texture" method="show"]
  723. [connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4" to="." method="set_current_level_idx" binds= [7]]
  724. [connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4/Cursor/Texture" method="hide"]
  725. [connection signal="boo_selected" from="BooSelect" to="CharacterSelect" method="open"]
  726. [connection signal="cancelled" from="BooSelect" to="." method="regrab_focus"]
  727. [connection signal="cancelled" from="BooSelect" to="." method="open"]
  728. [connection signal="cancelled" from="CharacterSelect" to="BooSelect" method="open"]