main.tscn 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825
  1. [gd_scene load_steps=56 format=2]
  2. [ext_resource path="res://spawner.gd" type="Script" id=1]
  3. [ext_resource path="res://bacteria.tscn" type="PackedScene" id=2]
  4. [ext_resource path="res://restarter.gd" type="Script" id=3]
  5. [ext_resource path="res://Healthpickup.tscn" type="PackedScene" id=4]
  6. [ext_resource path="res://PowerUpControl.gd" type="Script" id=5]
  7. [ext_resource path="res://font/ComfortaaRegular.ttf" type="DynamicFontData" id=6]
  8. [ext_resource path="res://newdynamicfont.tres" type="DynamicFont" id=7]
  9. [ext_resource path="res://buttonsgens.gd" type="Script" id=8]
  10. [ext_resource path="res://font/newdynamicfont.tres" type="DynamicFont" id=9]
  11. [ext_resource path="res://font/newtheme.tres" type="Theme" id=10]
  12. [ext_resource path="res://ui/InterfaceLevelUpNew.png" type="Texture" id=11]
  13. [ext_resource path="res://ui/Area2D2.gd" type="Script" id=12]
  14. [ext_resource path="res://audio.ogg" type="AudioStream" id=13]
  15. [ext_resource path="res://debug.gd" type="Script" id=14]
  16. [ext_resource path="res://sandtex22.png" type="Texture" id=15]
  17. [ext_resource path="res://sounds/keylock.ogg" type="AudioStream" id=16]
  18. [ext_resource path="res://ui/BesourinhoULTRA4K.png" type="Texture" id=17]
  19. [ext_resource path="res://ui/logo.png" type="Texture" id=18]
  20. [ext_resource path="res://ui/play.png" type="Texture" id=19]
  21. [ext_resource path="res://mainmenu.gd" type="Script" id=20]
  22. [ext_resource path="res://ui/tutorial/tutorial/tmp.png" type="Texture" id=21]
  23. [ext_resource path="res://Tutorial.gd" type="Script" id=22]
  24. [ext_resource path="res://ui/tutorial/tutorial/back.PNG" type="Texture" id=23]
  25. [ext_resource path="res://ui/tutorial/tutorial/tutBG.PNG" type="Texture" id=24]
  26. [ext_resource path="res://ui/tutorial/tutorial/buttonsOn.PNG" type="Texture" id=25]
  27. [ext_resource path="res://ui/tutorial/tutorial/tut3.PNG" type="Texture" id=26]
  28. [ext_resource path="res://ui/tutorial/tutorial/tut2.PNG" type="Texture" id=27]
  29. [ext_resource path="res://ui/tutorial/tutorial/tut4.PNG" type="Texture" id=28]
  30. [ext_resource path="res://ui/tutorial/tutorial/tut4Text.PNG" type="Texture" id=29]
  31. [ext_resource path="res://ui/tutorial/tutorial/tut1.PNG" type="Texture" id=30]
  32. [ext_resource path="res://ui/tutorial/tutorial/tut1Text.PNG" type="Texture" id=31]
  33. [ext_resource path="res://ui/tutorial/tutorial/tut2Text.PNG" type="Texture" id=32]
  34. [ext_resource path="res://ui/tutorial/tutorial/tut3Text.PNG" type="Texture" id=33]
  35. [sub_resource type="DynamicFont" id=1]
  36. font_data = ExtResource( 6 )
  37. [sub_resource type="Theme" id=2]
  38. default_font = SubResource( 1 )
  39. [sub_resource type="CircleShape2D" id=3]
  40. radius = 20.0
  41. [sub_resource type="GDScript" id=11]
  42. script/source = "extends Sprite
  43. func _process(delta):
  44. global_position = get_viewport_transform().get_origin() * -1
  45. region_rect.position.x = get_viewport_transform().get_origin().x * -1
  46. region_rect.position.y = get_viewport_transform().get_origin().y * -1
  47. # pass
  48. "
  49. [sub_resource type="Shader" id=4]
  50. code = "// NOTE: Shader automatically converted from Godot Engine 3.4.4.stable's CanvasItemMaterial.
  51. shader_type canvas_item;
  52. render_mode blend_mix;
  53. uniform sampler2D noise;
  54. uniform sampler2D noise2;
  55. uniform sampler2D grad;
  56. void fragment(){
  57. float col = texture(noise, UV).r * texture(noise2, UV+TIME*0.1).r + 0.3;
  58. COLOR = texture(grad, vec2( round(col)) ) + clamp(col,0.0,0.6) - 0.3;
  59. }"
  60. [sub_resource type="Gradient" id=5]
  61. offsets = PoolRealArray( 0.00833333, 0.970833 )
  62. colors = PoolColorArray( 0.00156975, 0.401855, 0.337356, 1, 0.144711, 0.686035, 0.256252, 1 )
  63. [sub_resource type="GradientTexture" id=6]
  64. gradient = SubResource( 5 )
  65. [sub_resource type="OpenSimplexNoise" id=7]
  66. [sub_resource type="NoiseTexture" id=8]
  67. width = 256
  68. height = 256
  69. noise = SubResource( 7 )
  70. [sub_resource type="NoiseTexture" id=9]
  71. width = 96
  72. height = 96
  73. seamless = true
  74. noise = SubResource( 7 )
  75. [sub_resource type="ShaderMaterial" id=10]
  76. shader = SubResource( 4 )
  77. shader_param/noise = SubResource( 8 )
  78. shader_param/noise2 = SubResource( 9 )
  79. shader_param/grad = SubResource( 6 )
  80. [sub_resource type="Shader" id=12]
  81. code = "// NOTE: Shader automatically converted from Godot Engine 3.4.4.stable's CanvasItemMaterial.
  82. shader_type canvas_item;
  83. render_mode blend_mix;
  84. void fragment(){
  85. COLOR = texture(TEXTURE,UV+vec2(TIME*0.2));
  86. }"
  87. [sub_resource type="ShaderMaterial" id=13]
  88. shader = SubResource( 12 )
  89. [sub_resource type="AtlasTexture" id=14]
  90. atlas = ExtResource( 17 )
  91. region = Rect2( 0, 0, 150, 152 )
  92. [sub_resource type="AtlasTexture" id=15]
  93. atlas = ExtResource( 17 )
  94. region = Rect2( 150, 0, 150, 152 )
  95. [sub_resource type="AtlasTexture" id=16]
  96. atlas = ExtResource( 17 )
  97. region = Rect2( 300, 0, 150, 152 )
  98. [sub_resource type="SpriteFrames" id=17]
  99. animations = [ {
  100. "frames": [ SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 14 ), SubResource( 14 ), SubResource( 14 ), SubResource( 14 ), SubResource( 14 ), SubResource( 14 ), SubResource( 14 ), SubResource( 14 ), SubResource( 14 ), SubResource( 14 ), SubResource( 14 ), SubResource( 14 ), SubResource( 14 ) ],
  101. "loop": true,
  102. "name": "default",
  103. "speed": 12.0
  104. } ]
  105. [sub_resource type="Animation" id=21]
  106. resource_name = "Nova Animação"
  107. length = 0.4
  108. loop = true
  109. tracks/0/type = "value"
  110. tracks/0/path = NodePath("BesourinhoUltra4k6:rotation_degrees")
  111. tracks/0/interp = 1
  112. tracks/0/loop_wrap = true
  113. tracks/0/imported = false
  114. tracks/0/enabled = true
  115. tracks/0/keys = {
  116. "times": PoolRealArray( 0, 0.2 ),
  117. "transitions": PoolRealArray( 1, 1 ),
  118. "update": 0,
  119. "values": [ -45.637, 32.1438 ]
  120. }
  121. tracks/1/type = "value"
  122. tracks/1/path = NodePath("BesourinhoUltra4k5:rotation_degrees")
  123. tracks/1/interp = 1
  124. tracks/1/loop_wrap = true
  125. tracks/1/imported = false
  126. tracks/1/enabled = true
  127. tracks/1/keys = {
  128. "times": PoolRealArray( 0, 0.2 ),
  129. "transitions": PoolRealArray( 1, 1 ),
  130. "update": 0,
  131. "values": [ 41.0534, -25.7133 ]
  132. }
  133. tracks/2/type = "value"
  134. tracks/2/path = NodePath("BesourinhoUltra4k4:rotation_degrees")
  135. tracks/2/interp = 1
  136. tracks/2/loop_wrap = true
  137. tracks/2/imported = false
  138. tracks/2/enabled = true
  139. tracks/2/keys = {
  140. "times": PoolRealArray( 0, 0.2 ),
  141. "transitions": PoolRealArray( 1, 1 ),
  142. "update": 0,
  143. "values": [ -32.2563, 35.6285 ]
  144. }
  145. tracks/3/type = "value"
  146. tracks/3/path = NodePath("BesourinhoUltra4k7:rotation_degrees")
  147. tracks/3/interp = 1
  148. tracks/3/loop_wrap = true
  149. tracks/3/imported = false
  150. tracks/3/enabled = true
  151. tracks/3/keys = {
  152. "times": PoolRealArray( 0, 0.2 ),
  153. "transitions": PoolRealArray( 1, 1 ),
  154. "update": 0,
  155. "values": [ -32.2563, 35.6285 ]
  156. }
  157. tracks/4/type = "value"
  158. tracks/4/path = NodePath("BesourinhoUltra4k8:rotation_degrees")
  159. tracks/4/interp = 1
  160. tracks/4/loop_wrap = true
  161. tracks/4/imported = false
  162. tracks/4/enabled = true
  163. tracks/4/keys = {
  164. "times": PoolRealArray( 0, 0.2 ),
  165. "transitions": PoolRealArray( 1, 1 ),
  166. "update": 0,
  167. "values": [ 41.0534, -25.7133 ]
  168. }
  169. tracks/5/type = "value"
  170. tracks/5/path = NodePath("BesourinhoUltra4k3:rotation_degrees")
  171. tracks/5/interp = 1
  172. tracks/5/loop_wrap = true
  173. tracks/5/imported = false
  174. tracks/5/enabled = true
  175. tracks/5/keys = {
  176. "times": PoolRealArray( 0, 0.2 ),
  177. "transitions": PoolRealArray( 1, 1 ),
  178. "update": 0,
  179. "values": [ -45.637, 32.1438 ]
  180. }
  181. [sub_resource type="Animation" id=22]
  182. length = 0.001
  183. tracks/0/type = "value"
  184. tracks/0/path = NodePath("BesourinhoUltra4k6:rotation_degrees")
  185. tracks/0/interp = 1
  186. tracks/0/loop_wrap = true
  187. tracks/0/imported = false
  188. tracks/0/enabled = true
  189. tracks/0/keys = {
  190. "times": PoolRealArray( 0 ),
  191. "transitions": PoolRealArray( 1 ),
  192. "update": 0,
  193. "values": [ 0.0 ]
  194. }
  195. tracks/1/type = "value"
  196. tracks/1/path = NodePath("BesourinhoUltra4k5:rotation_degrees")
  197. tracks/1/interp = 1
  198. tracks/1/loop_wrap = true
  199. tracks/1/imported = false
  200. tracks/1/enabled = true
  201. tracks/1/keys = {
  202. "times": PoolRealArray( 0 ),
  203. "transitions": PoolRealArray( 1 ),
  204. "update": 0,
  205. "values": [ 0.0 ]
  206. }
  207. tracks/2/type = "value"
  208. tracks/2/path = NodePath("BesourinhoUltra4k4:rotation_degrees")
  209. tracks/2/interp = 1
  210. tracks/2/loop_wrap = true
  211. tracks/2/imported = false
  212. tracks/2/enabled = true
  213. tracks/2/keys = {
  214. "times": PoolRealArray( 0 ),
  215. "transitions": PoolRealArray( 1 ),
  216. "update": 0,
  217. "values": [ 0.0 ]
  218. }
  219. tracks/3/type = "value"
  220. tracks/3/path = NodePath("BesourinhoUltra4k7:rotation_degrees")
  221. tracks/3/interp = 1
  222. tracks/3/loop_wrap = true
  223. tracks/3/imported = false
  224. tracks/3/enabled = true
  225. tracks/3/keys = {
  226. "times": PoolRealArray( 0 ),
  227. "transitions": PoolRealArray( 1 ),
  228. "update": 0,
  229. "values": [ 0.0 ]
  230. }
  231. tracks/4/type = "value"
  232. tracks/4/path = NodePath("BesourinhoUltra4k8:rotation_degrees")
  233. tracks/4/interp = 1
  234. tracks/4/loop_wrap = true
  235. tracks/4/imported = false
  236. tracks/4/enabled = true
  237. tracks/4/keys = {
  238. "times": PoolRealArray( 0 ),
  239. "transitions": PoolRealArray( 1 ),
  240. "update": 0,
  241. "values": [ 0.0 ]
  242. }
  243. tracks/5/type = "value"
  244. tracks/5/path = NodePath("BesourinhoUltra4k3:rotation_degrees")
  245. tracks/5/interp = 1
  246. tracks/5/loop_wrap = true
  247. tracks/5/imported = false
  248. tracks/5/enabled = true
  249. tracks/5/keys = {
  250. "times": PoolRealArray( 0 ),
  251. "transitions": PoolRealArray( 1 ),
  252. "update": 0,
  253. "values": [ 0.0 ]
  254. }
  255. [sub_resource type="Animation" id=18]
  256. resource_name = "Nova Animação"
  257. length = 3.0
  258. tracks/0/type = "value"
  259. tracks/0/path = NodePath("play/BesourinhoUltra4k:visible")
  260. tracks/0/interp = 1
  261. tracks/0/loop_wrap = true
  262. tracks/0/imported = false
  263. tracks/0/enabled = true
  264. tracks/0/keys = {
  265. "times": PoolRealArray( 0, 2.6 ),
  266. "transitions": PoolRealArray( 1, 1 ),
  267. "update": 1,
  268. "values": [ false, true ]
  269. }
  270. tracks/1/type = "value"
  271. tracks/1/path = NodePath("play/BesourinhoUltra4k2:visible")
  272. tracks/1/interp = 1
  273. tracks/1/loop_wrap = true
  274. tracks/1/imported = false
  275. tracks/1/enabled = true
  276. tracks/1/keys = {
  277. "times": PoolRealArray( 0, 2.6 ),
  278. "transitions": PoolRealArray( 1, 1 ),
  279. "update": 1,
  280. "values": [ true, false ]
  281. }
  282. tracks/2/type = "animation"
  283. tracks/2/path = NodePath("play/BesourinhoUltra4k2/AnimationPlayer")
  284. tracks/2/interp = 1
  285. tracks/2/loop_wrap = true
  286. tracks/2/imported = false
  287. tracks/2/enabled = true
  288. tracks/2/keys = {
  289. "clips": PoolStringArray( "Nova Animação" ),
  290. "times": PoolRealArray( 0 )
  291. }
  292. tracks/3/type = "value"
  293. tracks/3/path = NodePath("play/BesourinhoUltra4k2:position")
  294. tracks/3/interp = 1
  295. tracks/3/loop_wrap = true
  296. tracks/3/imported = false
  297. tracks/3/enabled = true
  298. tracks/3/keys = {
  299. "times": PoolRealArray( 0, 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4, 1.6, 1.8, 2, 2.2, 2.4, 2.6 ),
  300. "transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ),
  301. "update": 0,
  302. "values": [ Vector2( 462, 1133 ), Vector2( 506, 969 ), Vector2( 520, 834 ), Vector2( 494, 664 ), Vector2( 284, 551 ), Vector2( 47, 616 ), Vector2( -2, 751 ), Vector2( 19, 892 ), Vector2( 121, 986 ), Vector2( 261, 1025 ), Vector2( 388, 1009 ), Vector2( 451, 936 ), Vector2( 464, 858 ), Vector2( 436, 817 ) ]
  303. }
  304. tracks/4/type = "value"
  305. tracks/4/path = NodePath("play/BesourinhoUltra4k2:rotation_degrees")
  306. tracks/4/interp = 2
  307. tracks/4/loop_wrap = true
  308. tracks/4/imported = false
  309. tracks/4/enabled = true
  310. tracks/4/keys = {
  311. "times": PoolRealArray( 0, 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4, 1.6, 1.8, 2, 2.2, 2.4, 2.6 ),
  312. "transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ),
  313. "update": 0,
  314. "values": [ 16.3775, 11.7284, 3.1746, -23.8115, -84.7542, -123.438, -173.394, -212.013, -232.128, -271.241, -303.323, -324.038, -368.21, -394.796 ]
  315. }
  316. [sub_resource type="Animation" id=19]
  317. length = 0.001
  318. [sub_resource type="SpriteFrames" id=23]
  319. animations = [ {
  320. "frames": [ ExtResource( 30 ), ExtResource( 27 ), ExtResource( 26 ), ExtResource( 28 ) ],
  321. "loop": true,
  322. "name": "default",
  323. "speed": 5.0
  324. }, {
  325. "frames": [ ExtResource( 31 ), ExtResource( 32 ), ExtResource( 33 ), ExtResource( 29 ) ],
  326. "loop": true,
  327. "name": "New Anim",
  328. "speed": 5.0
  329. } ]
  330. [node name="main" type="YSort"]
  331. position = Vector2( 2, 0 )
  332. [node name="bacteria" parent="." instance=ExtResource( 2 )]
  333. [node name="spawner" type="Node2D" parent="."]
  334. script = ExtResource( 1 )
  335. spawnspeed = 1.0
  336. [node name="spawner2" type="Node2D" parent="."]
  337. script = ExtResource( 1 )
  338. enemy_ = ExtResource( 4 )
  339. [node name="restarter" type="CanvasLayer" parent="."]
  340. pause_mode = 2
  341. script = ExtResource( 3 )
  342. [node name="MarginContainer" type="MarginContainer" parent="restarter"]
  343. visible = false
  344. anchor_right = 1.0
  345. anchor_bottom = 1.0
  346. margin_left = 80.0
  347. margin_right = -80.0
  348. theme = SubResource( 2 )
  349. [node name="VBoxContainer" type="VBoxContainer" parent="restarter/MarginContainer"]
  350. margin_right = 380.0
  351. margin_bottom = 960.0
  352. theme = SubResource( 2 )
  353. alignment = 1
  354. [node name="Label" type="Label" parent="restarter/MarginContainer/VBoxContainer"]
  355. margin_top = 456.0
  356. margin_right = 380.0
  357. margin_bottom = 475.0
  358. custom_fonts/font = ExtResource( 7 )
  359. text = "game over"
  360. align = 1
  361. valign = 1
  362. [node name="Button" type="Button" parent="restarter/MarginContainer/VBoxContainer"]
  363. margin_top = 479.0
  364. margin_right = 380.0
  365. margin_bottom = 504.0
  366. custom_fonts/font = ExtResource( 7 )
  367. text = "restart"
  368. [node name="PowerUpControl" type="CanvasLayer" parent="."]
  369. pause_mode = 2
  370. script = ExtResource( 5 )
  371. [node name="Control" type="MarginContainer" parent="PowerUpControl"]
  372. pause_mode = 2
  373. visible = false
  374. anchor_right = 1.0
  375. anchor_bottom = 1.0
  376. margin_left = 120.0
  377. margin_right = -120.0
  378. theme = SubResource( 2 )
  379. [node name="VSeparator" type="VBoxContainer" parent="PowerUpControl/Control"]
  380. margin_right = 300.0
  381. margin_bottom = 960.0
  382. theme = SubResource( 2 )
  383. alignment = 1
  384. [node name="Label" type="Label" parent="PowerUpControl/Control/VSeparator"]
  385. margin_top = 409.0
  386. margin_right = 300.0
  387. margin_bottom = 427.0
  388. custom_fonts/font = ExtResource( 7 )
  389. text = "Choose a power:"
  390. [node name="ItemList" type="ItemList" parent="PowerUpControl/Control/VSeparator"]
  391. margin_top = 431.0
  392. margin_right = 300.0
  393. margin_bottom = 551.0
  394. rect_min_size = Vector2( 0, 120 )
  395. custom_fonts/font = ExtResource( 7 )
  396. items = [ "Item 0", null, false, "Item 1", null, false, "Item 2", null, false, "Item 3", null, false, "Item 4", null, false ]
  397. [node name="Control2" type="MarginContainer" parent="PowerUpControl"]
  398. pause_mode = 2
  399. visible = false
  400. anchor_right = 1.0
  401. anchor_bottom = 1.0
  402. margin_left = 80.0
  403. margin_right = -80.0
  404. theme = ExtResource( 10 )
  405. [node name="VSeparator" type="VBoxContainer" parent="PowerUpControl/Control2"]
  406. margin_right = 380.0
  407. margin_bottom = 960.0
  408. theme = SubResource( 2 )
  409. alignment = 1
  410. [node name="Label" type="Label" parent="PowerUpControl/Control2/VSeparator"]
  411. margin_top = 154.0
  412. margin_right = 380.0
  413. margin_bottom = 173.0
  414. theme = ExtResource( 10 )
  415. custom_fonts/font = ExtResource( 9 )
  416. text = "Choose a power:"
  417. [node name="ItemList" type="ItemList" parent="PowerUpControl/Control2/VSeparator"]
  418. visible = false
  419. margin_top = 431.0
  420. margin_right = 300.0
  421. margin_bottom = 551.0
  422. rect_min_size = Vector2( 0, 120 )
  423. custom_fonts/font = ExtResource( 7 )
  424. items = [ "Item 0", null, false, "Item 1", null, false, "Item 2", null, false, "Item 3", null, false, "Item 4", null, false ]
  425. [node name="ColorRect" type="ColorRect" parent="PowerUpControl/Control2/VSeparator"]
  426. margin_top = 177.0
  427. margin_right = 380.0
  428. margin_bottom = 777.0
  429. rect_min_size = Vector2( 0, 600 )
  430. color = Color( 0.117647, 0.172549, 0.211765, 1 )
  431. [node name="InterfaceLevelUpNew" type="Sprite" parent="PowerUpControl/Control2/VSeparator/ColorRect"]
  432. position = Vector2( 186, 117 )
  433. scale = Vector2( 0.75, 0.75 )
  434. texture = ExtResource( 11 )
  435. [node name="menbros" type="Node2D" parent="PowerUpControl/Control2/VSeparator"]
  436. self_modulate = Color( 1, 0.494118, 0, 1 )
  437. position = Vector2( 186, 293 )
  438. scale = Vector2( 0.75, 0.75 )
  439. [node name="Area2D2" type="Area2D" parent="PowerUpControl/Control2/VSeparator/menbros"]
  440. position = Vector2( -177.333, 36 )
  441. scale = Vector2( 1.33333, 1.33333 )
  442. collision_layer = 4
  443. collision_mask = 4
  444. script = ExtResource( 12 )
  445. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/menbros/Area2D2"]
  446. position = Vector2( 32, 32 )
  447. shape = SubResource( 3 )
  448. [node name="Area2D3" type="Area2D" parent="PowerUpControl/Control2/VSeparator/menbros"]
  449. position = Vector2( -177.333, -120 )
  450. scale = Vector2( 1.33333, 1.33333 )
  451. collision_layer = 4
  452. collision_mask = 4
  453. script = ExtResource( 12 )
  454. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/menbros/Area2D3"]
  455. position = Vector2( 32, 32 )
  456. shape = SubResource( 3 )
  457. [node name="Area2D6" type="Area2D" parent="PowerUpControl/Control2/VSeparator/menbros"]
  458. position = Vector2( -74.6667, 54.6667 )
  459. scale = Vector2( 1.33333, 1.33333 )
  460. collision_layer = 4
  461. collision_mask = 4
  462. script = ExtResource( 12 )
  463. id = 1
  464. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/menbros/Area2D6"]
  465. position = Vector2( 32, 32 )
  466. shape = SubResource( 3 )
  467. [node name="Area2D7" type="Area2D" parent="PowerUpControl/Control2/VSeparator/menbros"]
  468. position = Vector2( -74.6667, -141.333 )
  469. scale = Vector2( 1.33333, 1.33333 )
  470. collision_layer = 4
  471. collision_mask = 4
  472. script = ExtResource( 12 )
  473. id = 1
  474. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/menbros/Area2D7"]
  475. position = Vector2( 32, 32 )
  476. shape = SubResource( 3 )
  477. [node name="Area2D4" type="Area2D" parent="PowerUpControl/Control2/VSeparator/menbros"]
  478. position = Vector2( 22.6667, 36 )
  479. scale = Vector2( 1.33333, 1.33333 )
  480. collision_layer = 4
  481. collision_mask = 4
  482. script = ExtResource( 12 )
  483. id = 2
  484. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/menbros/Area2D4"]
  485. position = Vector2( 32, 32 )
  486. shape = SubResource( 3 )
  487. [node name="Area2D5" type="Area2D" parent="PowerUpControl/Control2/VSeparator/menbros"]
  488. position = Vector2( 22.6667, -120 )
  489. scale = Vector2( 1.33333, 1.33333 )
  490. collision_layer = 4
  491. collision_mask = 4
  492. script = ExtResource( 12 )
  493. id = 2
  494. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/menbros/Area2D5"]
  495. position = Vector2( 32, 32 )
  496. shape = SubResource( 3 )
  497. [node name="corpo" type="Node2D" parent="PowerUpControl/Control2/VSeparator"]
  498. self_modulate = Color( 0, 1, 0.952941, 1 )
  499. position = Vector2( 186, 293 )
  500. scale = Vector2( 0.75, 0.75 )
  501. [node name="Area2D8" type="Area2D" parent="PowerUpControl/Control2/VSeparator/corpo"]
  502. position = Vector2( -196, -42.6667 )
  503. scale = Vector2( 1.33333, 1.33333 )
  504. collision_layer = 8
  505. collision_mask = 8
  506. script = ExtResource( 12 )
  507. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/corpo/Area2D8"]
  508. position = Vector2( 32, 32 )
  509. shape = SubResource( 3 )
  510. [node name="Area2D9" type="Area2D" parent="PowerUpControl/Control2/VSeparator/corpo"]
  511. position = Vector2( -117.333, -42.6667 )
  512. scale = Vector2( 1.33333, 1.33333 )
  513. collision_layer = 8
  514. collision_mask = 8
  515. script = ExtResource( 12 )
  516. id = 1
  517. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/corpo/Area2D9"]
  518. position = Vector2( 32, 32 )
  519. shape = SubResource( 3 )
  520. [node name="Area2D10" type="Area2D" parent="PowerUpControl/Control2/VSeparator/corpo"]
  521. position = Vector2( -38.6667, -42.6667 )
  522. scale = Vector2( 1.33333, 1.33333 )
  523. collision_layer = 8
  524. collision_mask = 8
  525. script = ExtResource( 12 )
  526. id = 2
  527. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/corpo/Area2D10"]
  528. position = Vector2( 32, 32 )
  529. shape = SubResource( 3 )
  530. [node name="Area2D11" type="Area2D" parent="PowerUpControl/Control2/VSeparator/corpo"]
  531. position = Vector2( 38.6667, -42.6667 )
  532. scale = Vector2( 1.33333, 1.33333 )
  533. collision_layer = 8
  534. collision_mask = 8
  535. script = ExtResource( 12 )
  536. id = 3
  537. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/corpo/Area2D11"]
  538. position = Vector2( 32, 32 )
  539. shape = SubResource( 3 )
  540. [node name="Area2D12" type="Area2D" parent="PowerUpControl/Control2/VSeparator/corpo"]
  541. position = Vector2( 116, -42.6667 )
  542. scale = Vector2( 1.33333, 1.33333 )
  543. collision_layer = 8
  544. collision_mask = 8
  545. script = ExtResource( 12 )
  546. id = 4
  547. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/corpo/Area2D12"]
  548. position = Vector2( 32, 32 )
  549. shape = SubResource( 3 )
  550. [node name="buttons" type="Node2D" parent="PowerUpControl/Control2/VSeparator"]
  551. position = Vector2( 24, 422 )
  552. script = ExtResource( 8 )
  553. [node name="Button" type="Button" parent="PowerUpControl/Control2/VSeparator"]
  554. margin_top = 781.0
  555. margin_right = 380.0
  556. margin_bottom = 806.0
  557. text = "accept"
  558. [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="PowerUpControl"]
  559. stream = ExtResource( 16 )
  560. bus = "menu"
  561. [node name="TextureButton2" type="Sprite" parent="."]
  562. position = Vector2( -2, 0 )
  563. z_index = -255
  564. texture = ExtResource( 15 )
  565. centered = false
  566. region_enabled = true
  567. region_rect = Rect2( 0, 0, 540, 960 )
  568. script = SubResource( 11 )
  569. [node name="CanvasLayer" type="CanvasLayer" parent="."]
  570. layer = -1
  571. [node name="TextureButton" type="ColorRect" parent="CanvasLayer"]
  572. visible = false
  573. material = SubResource( 10 )
  574. anchor_right = 1.0
  575. anchor_bottom = 1.0
  576. theme = SubResource( 2 )
  577. [node name="debug" type="Label" parent="CanvasLayer"]
  578. visible = false
  579. margin_left = 22.0
  580. margin_top = 890.0
  581. margin_right = 96.0
  582. margin_bottom = 938.0
  583. text = "Fps: 60
  584. Vram: 0 mb
  585. ram: 0 mb"
  586. script = ExtResource( 14 )
  587. [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
  588. stream = ExtResource( 13 )
  589. autoplay = true
  590. [node name="PauseMenu" type="CanvasLayer" parent="."]
  591. pause_mode = 2
  592. script = ExtResource( 20 )
  593. [node name="play" type="Node2D" parent="PauseMenu"]
  594. [node name="TextureButton3" type="Sprite" parent="PauseMenu/play"]
  595. material = SubResource( 13 )
  596. z_index = -255
  597. texture = ExtResource( 15 )
  598. centered = false
  599. region_enabled = true
  600. region_rect = Rect2( 0, 0, 540, 960 )
  601. [node name="Logo" type="Sprite" parent="PauseMenu/play"]
  602. position = Vector2( 267, 162 )
  603. texture = ExtResource( 18 )
  604. [node name="BesourinhoUltra4k" type="AnimatedSprite" parent="PauseMenu/play"]
  605. visible = false
  606. position = Vector2( 434, 819 )
  607. rotation = -0.561978
  608. z_index = 20
  609. frames = SubResource( 17 )
  610. playing = true
  611. [node name="Play" type="TouchScreenButton" parent="PauseMenu/play"]
  612. position = Vector2( 60, 740 )
  613. normal = ExtResource( 19 )
  614. [node name="howto" type="TouchScreenButton" parent="PauseMenu/play"]
  615. position = Vector2( 150, 624 )
  616. normal = ExtResource( 21 )
  617. [node name="BesourinhoUltra4k2" type="Sprite" parent="PauseMenu/play"]
  618. position = Vector2( 462, 1133 )
  619. rotation = 0.285841
  620. z_index = 20
  621. texture = ExtResource( 17 )
  622. region_enabled = true
  623. region_rect = Rect2( 35.4951, -1.51037, 78.6197, 152.539 )
  624. [node name="BesourinhoUltra4k3" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
  625. position = Vector2( -33, -24 )
  626. texture = ExtResource( 17 )
  627. offset = Vector2( -17, -22 )
  628. region_enabled = true
  629. region_rect = Rect2( 6.85741, 1.01094, 34.8782, 55.8891 )
  630. [node name="BesourinhoUltra4k4" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
  631. position = Vector2( -38, 4 )
  632. texture = ExtResource( 17 )
  633. offset = Vector2( -19, 8 )
  634. region_enabled = true
  635. region_rect = Rect2( -4.90872, 69.5066, 40.7612, 39.0803 )
  636. [node name="BesourinhoUltra4k5" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
  637. position = Vector2( -39, 42 )
  638. texture = ExtResource( 17 )
  639. offset = Vector2( -12, 15 )
  640. region_enabled = true
  641. region_rect = Rect2( 9.37872, 111.949, 27.7344, 43.7028 )
  642. [node name="BesourinhoUltra4k6" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
  643. position = Vector2( 33, -24 )
  644. scale = Vector2( -1, 1 )
  645. texture = ExtResource( 17 )
  646. offset = Vector2( -17, -22 )
  647. region_enabled = true
  648. region_rect = Rect2( 6.85741, 1.01094, 34.8782, 55.8891 )
  649. [node name="BesourinhoUltra4k7" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
  650. position = Vector2( 38, 4 )
  651. scale = Vector2( -1, 1 )
  652. texture = ExtResource( 17 )
  653. offset = Vector2( -19, 8 )
  654. region_enabled = true
  655. region_rect = Rect2( -4.90872, 69.5066, 40.7612, 39.0803 )
  656. [node name="BesourinhoUltra4k8" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
  657. position = Vector2( 38.5, 42 )
  658. scale = Vector2( -1, 1 )
  659. texture = ExtResource( 17 )
  660. offset = Vector2( -12, 15 )
  661. region_enabled = true
  662. region_rect = Rect2( 9.37872, 111.949, 27.7344, 43.7028 )
  663. [node name="AnimationPlayer" type="AnimationPlayer" parent="PauseMenu/play/BesourinhoUltra4k2"]
  664. pause_mode = 2
  665. "anims/Nova Animação" = SubResource( 21 )
  666. anims/RESET = SubResource( 22 )
  667. [node name="AnimationPlayer2" type="AnimationPlayer" parent="PauseMenu/play/BesourinhoUltra4k2"]
  668. pause_mode = 2
  669. root_node = NodePath("../../..")
  670. autoplay = "Nova Animação"
  671. "anims/Nova Animação" = SubResource( 18 )
  672. anims/RESET = SubResource( 19 )
  673. [node name="Tutorial" type="CanvasLayer" parent="."]
  674. pause_mode = 2
  675. script = ExtResource( 22 )
  676. playnode = NodePath("../PauseMenu/play")
  677. [node name="tut" type="Node2D" parent="Tutorial"]
  678. visible = false
  679. [node name="TextureButton4" type="Sprite" parent="Tutorial/tut"]
  680. material = SubResource( 13 )
  681. z_index = -255
  682. texture = ExtResource( 15 )
  683. centered = false
  684. region_enabled = true
  685. region_rect = Rect2( 0, 0, 540, 960 )
  686. [node name="back" type="TouchScreenButton" parent="Tutorial/tut"]
  687. pause_mode = 2
  688. position = Vector2( 0, 599 )
  689. normal = ExtResource( 23 )
  690. [node name="arrows" type="TouchScreenButton" parent="Tutorial/tut"]
  691. position = Vector2( 270, 775 )
  692. normal = ExtResource( 25 )
  693. [node name="arrows2" type="TouchScreenButton" parent="Tutorial/tut"]
  694. position = Vector2( 270, 775 )
  695. scale = Vector2( -1, 1 )
  696. normal = ExtResource( 25 )
  697. [node name="TutBg" type="Sprite" parent="Tutorial/tut"]
  698. texture = ExtResource( 24 )
  699. centered = false
  700. [node name="AnimatedSprite" type="AnimatedSprite" parent="Tutorial/tut"]
  701. frames = SubResource( 23 )
  702. animation = "New Anim"
  703. centered = false
  704. [node name="AnimatedSprite2" type="AnimatedSprite" parent="Tutorial/tut"]
  705. frames = SubResource( 23 )
  706. centered = false
  707. [connection signal="dieproxy" from="bacteria" to="restarter" method="_on_bacteria_dieproxy"]
  708. [connection signal="level_up" from="bacteria" to="PowerUpControl" method="_on_bacteria_level_up"]
  709. [connection signal="button_down" from="restarter/MarginContainer/VBoxContainer/Button" to="restarter" method="_on_Button_button_down"]
  710. [connection signal="item_activated" from="PowerUpControl/Control/VSeparator/ItemList" to="PowerUpControl" method="_on_ItemList_item_activated"]
  711. [connection signal="item_activated" from="PowerUpControl/Control2/VSeparator/ItemList" to="PowerUpControl" method="_on_ItemList_item_activated"]
  712. [connection signal="button_down" from="PowerUpControl/Control2/VSeparator/Button" to="PowerUpControl" method="_on_Button_button_down"]
  713. [connection signal="button_down" from="PowerUpControl/Control2/VSeparator/Button" to="PowerUpControl/AudioStreamPlayer" method="play"]
  714. [connection signal="pressed" from="PauseMenu/play/Play" to="PauseMenu" method="_on_Play_pressed"]
  715. [connection signal="pressed" from="PauseMenu/play/howto" to="Tutorial" method="_on_howto_pressed"]
  716. [connection signal="pressed" from="Tutorial/tut/back" to="Tutorial" method="_on_back_pressed"]
  717. [connection signal="pressed" from="Tutorial/tut/arrows" to="Tutorial" method="_on_arrows_pressed"]
  718. [connection signal="pressed" from="Tutorial/tut/arrows2" to="Tutorial" method="_on_arrows2_pressed"]