main.tscn 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827
  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. spawnspeed = 1.0
  340. [node name="restarter" type="CanvasLayer" parent="."]
  341. pause_mode = 2
  342. script = ExtResource( 3 )
  343. [node name="MarginContainer" type="MarginContainer" parent="restarter"]
  344. visible = false
  345. anchor_right = 1.0
  346. anchor_bottom = 1.0
  347. margin_left = 80.0
  348. margin_right = -80.0
  349. theme = SubResource( 2 )
  350. [node name="VBoxContainer" type="VBoxContainer" parent="restarter/MarginContainer"]
  351. margin_right = 380.0
  352. margin_bottom = 960.0
  353. theme = SubResource( 2 )
  354. alignment = 1
  355. [node name="Label" type="Label" parent="restarter/MarginContainer/VBoxContainer"]
  356. margin_top = 456.0
  357. margin_right = 380.0
  358. margin_bottom = 475.0
  359. custom_fonts/font = ExtResource( 7 )
  360. text = "game over"
  361. align = 1
  362. valign = 1
  363. [node name="Button" type="Button" parent="restarter/MarginContainer/VBoxContainer"]
  364. margin_top = 479.0
  365. margin_right = 380.0
  366. margin_bottom = 504.0
  367. custom_fonts/font = ExtResource( 7 )
  368. text = "restart"
  369. [node name="PowerUpControl" type="CanvasLayer" parent="."]
  370. pause_mode = 2
  371. script = ExtResource( 5 )
  372. [node name="Control" type="MarginContainer" parent="PowerUpControl"]
  373. pause_mode = 2
  374. visible = false
  375. anchor_right = 1.0
  376. anchor_bottom = 1.0
  377. margin_left = 120.0
  378. margin_right = -120.0
  379. theme = SubResource( 2 )
  380. [node name="VSeparator" type="VBoxContainer" parent="PowerUpControl/Control"]
  381. margin_right = 300.0
  382. margin_bottom = 960.0
  383. theme = SubResource( 2 )
  384. alignment = 1
  385. [node name="Label" type="Label" parent="PowerUpControl/Control/VSeparator"]
  386. margin_top = 408.0
  387. margin_right = 300.0
  388. margin_bottom = 427.0
  389. custom_fonts/font = ExtResource( 7 )
  390. text = "Choose a power:"
  391. [node name="ItemList" type="ItemList" parent="PowerUpControl/Control/VSeparator"]
  392. margin_top = 431.0
  393. margin_right = 300.0
  394. margin_bottom = 551.0
  395. rect_min_size = Vector2( 0, 120 )
  396. custom_fonts/font = ExtResource( 7 )
  397. items = [ "Item 0", null, false, "Item 1", null, false, "Item 2", null, false, "Item 3", null, false, "Item 4", null, false ]
  398. [node name="Control2" type="MarginContainer" parent="PowerUpControl"]
  399. pause_mode = 2
  400. visible = false
  401. anchor_right = 1.0
  402. anchor_bottom = 1.0
  403. margin_left = 80.0
  404. margin_right = -80.0
  405. theme = ExtResource( 10 )
  406. [node name="VSeparator" type="VBoxContainer" parent="PowerUpControl/Control2"]
  407. margin_right = 380.0
  408. margin_bottom = 960.0
  409. theme = SubResource( 2 )
  410. alignment = 1
  411. [node name="Label" type="Label" parent="PowerUpControl/Control2/VSeparator"]
  412. margin_top = 154.0
  413. margin_right = 380.0
  414. margin_bottom = 173.0
  415. theme = ExtResource( 10 )
  416. custom_fonts/font = ExtResource( 9 )
  417. text = "Choose a power:"
  418. [node name="ItemList" type="ItemList" parent="PowerUpControl/Control2/VSeparator"]
  419. visible = false
  420. margin_top = 431.0
  421. margin_right = 300.0
  422. margin_bottom = 551.0
  423. rect_min_size = Vector2( 0, 120 )
  424. custom_fonts/font = ExtResource( 7 )
  425. items = [ "Item 0", null, false, "Item 1", null, false, "Item 2", null, false, "Item 3", null, false, "Item 4", null, false ]
  426. [node name="ColorRect" type="ColorRect" parent="PowerUpControl/Control2/VSeparator"]
  427. margin_top = 177.0
  428. margin_right = 380.0
  429. margin_bottom = 777.0
  430. rect_min_size = Vector2( 0, 600 )
  431. color = Color( 0.117647, 0.172549, 0.211765, 1 )
  432. [node name="InterfaceLevelUpNew" type="Sprite" parent="PowerUpControl/Control2/VSeparator/ColorRect"]
  433. position = Vector2( 186, 117 )
  434. scale = Vector2( 0.75, 0.75 )
  435. texture = ExtResource( 11 )
  436. [node name="menbros" type="Node2D" parent="PowerUpControl/Control2/VSeparator"]
  437. self_modulate = Color( 1, 0.494118, 0, 1 )
  438. position = Vector2( 186, 293 )
  439. scale = Vector2( 0.75, 0.75 )
  440. [node name="Area2D2" type="Area2D" parent="PowerUpControl/Control2/VSeparator/menbros"]
  441. position = Vector2( -177.333, 36 )
  442. scale = Vector2( 1.33333, 1.33333 )
  443. collision_layer = 4
  444. collision_mask = 4
  445. script = ExtResource( 12 )
  446. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/menbros/Area2D2"]
  447. position = Vector2( 32, 32 )
  448. shape = SubResource( 3 )
  449. [node name="Area2D3" type="Area2D" parent="PowerUpControl/Control2/VSeparator/menbros"]
  450. position = Vector2( -177.333, -120 )
  451. scale = Vector2( 1.33333, 1.33333 )
  452. collision_layer = 4
  453. collision_mask = 4
  454. script = ExtResource( 12 )
  455. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/menbros/Area2D3"]
  456. position = Vector2( 32, 32 )
  457. shape = SubResource( 3 )
  458. [node name="Area2D6" type="Area2D" parent="PowerUpControl/Control2/VSeparator/menbros"]
  459. position = Vector2( -74.6667, 54.6667 )
  460. scale = Vector2( 1.33333, 1.33333 )
  461. collision_layer = 4
  462. collision_mask = 4
  463. script = ExtResource( 12 )
  464. id = 1
  465. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/menbros/Area2D6"]
  466. position = Vector2( 32, 32 )
  467. shape = SubResource( 3 )
  468. [node name="Area2D7" type="Area2D" parent="PowerUpControl/Control2/VSeparator/menbros"]
  469. position = Vector2( -74.6667, -141.333 )
  470. scale = Vector2( 1.33333, 1.33333 )
  471. collision_layer = 4
  472. collision_mask = 4
  473. script = ExtResource( 12 )
  474. id = 1
  475. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/menbros/Area2D7"]
  476. position = Vector2( 32, 32 )
  477. shape = SubResource( 3 )
  478. [node name="Area2D4" type="Area2D" parent="PowerUpControl/Control2/VSeparator/menbros"]
  479. position = Vector2( 22.6667, 36 )
  480. scale = Vector2( 1.33333, 1.33333 )
  481. collision_layer = 4
  482. collision_mask = 4
  483. script = ExtResource( 12 )
  484. id = 2
  485. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/menbros/Area2D4"]
  486. position = Vector2( 32, 32 )
  487. shape = SubResource( 3 )
  488. [node name="Area2D5" type="Area2D" parent="PowerUpControl/Control2/VSeparator/menbros"]
  489. position = Vector2( 22.6667, -120 )
  490. scale = Vector2( 1.33333, 1.33333 )
  491. collision_layer = 4
  492. collision_mask = 4
  493. script = ExtResource( 12 )
  494. id = 2
  495. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/menbros/Area2D5"]
  496. position = Vector2( 32, 32 )
  497. shape = SubResource( 3 )
  498. [node name="corpo" type="Node2D" parent="PowerUpControl/Control2/VSeparator"]
  499. self_modulate = Color( 0, 1, 0.952941, 1 )
  500. position = Vector2( 186, 293 )
  501. scale = Vector2( 0.75, 0.75 )
  502. [node name="Area2D8" type="Area2D" parent="PowerUpControl/Control2/VSeparator/corpo"]
  503. position = Vector2( -196, -42.6667 )
  504. scale = Vector2( 1.33333, 1.33333 )
  505. collision_layer = 8
  506. collision_mask = 8
  507. script = ExtResource( 12 )
  508. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/corpo/Area2D8"]
  509. position = Vector2( 32, 32 )
  510. shape = SubResource( 3 )
  511. [node name="Area2D9" type="Area2D" parent="PowerUpControl/Control2/VSeparator/corpo"]
  512. position = Vector2( -117.333, -42.6667 )
  513. scale = Vector2( 1.33333, 1.33333 )
  514. collision_layer = 8
  515. collision_mask = 8
  516. script = ExtResource( 12 )
  517. id = 1
  518. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/corpo/Area2D9"]
  519. position = Vector2( 32, 32 )
  520. shape = SubResource( 3 )
  521. [node name="Area2D10" type="Area2D" parent="PowerUpControl/Control2/VSeparator/corpo"]
  522. position = Vector2( -38.6667, -42.6667 )
  523. scale = Vector2( 1.33333, 1.33333 )
  524. collision_layer = 8
  525. collision_mask = 8
  526. script = ExtResource( 12 )
  527. id = 2
  528. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/corpo/Area2D10"]
  529. position = Vector2( 32, 32 )
  530. shape = SubResource( 3 )
  531. [node name="Area2D11" type="Area2D" parent="PowerUpControl/Control2/VSeparator/corpo"]
  532. position = Vector2( 38.6667, -42.6667 )
  533. scale = Vector2( 1.33333, 1.33333 )
  534. collision_layer = 8
  535. collision_mask = 8
  536. script = ExtResource( 12 )
  537. id = 3
  538. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/corpo/Area2D11"]
  539. position = Vector2( 32, 32 )
  540. shape = SubResource( 3 )
  541. [node name="Area2D12" type="Area2D" parent="PowerUpControl/Control2/VSeparator/corpo"]
  542. position = Vector2( 116, -42.6667 )
  543. scale = Vector2( 1.33333, 1.33333 )
  544. collision_layer = 8
  545. collision_mask = 8
  546. script = ExtResource( 12 )
  547. id = 4
  548. [node name="CollisionShape2D" type="CollisionShape2D" parent="PowerUpControl/Control2/VSeparator/corpo/Area2D12"]
  549. position = Vector2( 32, 32 )
  550. shape = SubResource( 3 )
  551. [node name="buttons" type="Node2D" parent="PowerUpControl/Control2/VSeparator"]
  552. position = Vector2( 24, 422 )
  553. script = ExtResource( 8 )
  554. [node name="Button" type="Button" parent="PowerUpControl/Control2/VSeparator"]
  555. margin_top = 781.0
  556. margin_right = 380.0
  557. margin_bottom = 806.0
  558. text = "accept"
  559. [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="PowerUpControl"]
  560. stream = ExtResource( 16 )
  561. bus = "menu"
  562. [node name="TextureButton2" type="Sprite" parent="."]
  563. position = Vector2( -2, 0 )
  564. z_index = -255
  565. texture = ExtResource( 15 )
  566. centered = false
  567. region_enabled = true
  568. region_rect = Rect2( 0, 0, 540, 960 )
  569. script = SubResource( 11 )
  570. [node name="CanvasLayer" type="CanvasLayer" parent="."]
  571. layer = -1
  572. [node name="TextureButton" type="ColorRect" parent="CanvasLayer"]
  573. visible = false
  574. material = SubResource( 10 )
  575. anchor_right = 1.0
  576. anchor_bottom = 1.0
  577. theme = SubResource( 2 )
  578. [node name="debug" type="Label" parent="CanvasLayer"]
  579. visible = false
  580. margin_left = 22.0
  581. margin_top = 890.0
  582. margin_right = 96.0
  583. margin_bottom = 938.0
  584. text = "Fps: 60
  585. Vram: 0 mb
  586. ram: 0 mb"
  587. script = ExtResource( 14 )
  588. [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
  589. stream = ExtResource( 13 )
  590. autoplay = true
  591. [node name="PauseMenu" type="CanvasLayer" parent="."]
  592. pause_mode = 2
  593. script = ExtResource( 20 )
  594. [node name="play" type="Node2D" parent="PauseMenu"]
  595. [node name="TextureButton3" type="Sprite" parent="PauseMenu/play"]
  596. material = SubResource( 13 )
  597. z_index = -255
  598. texture = ExtResource( 15 )
  599. centered = false
  600. region_enabled = true
  601. region_rect = Rect2( 0, 0, 540, 960 )
  602. [node name="Logo" type="Sprite" parent="PauseMenu/play"]
  603. position = Vector2( 267, 162 )
  604. texture = ExtResource( 18 )
  605. [node name="BesourinhoUltra4k" type="AnimatedSprite" parent="PauseMenu/play"]
  606. visible = false
  607. position = Vector2( 434, 819 )
  608. rotation = -0.561978
  609. z_index = 20
  610. frames = SubResource( 17 )
  611. frame = 11
  612. playing = true
  613. [node name="Play" type="TouchScreenButton" parent="PauseMenu/play"]
  614. position = Vector2( 60, 740 )
  615. normal = ExtResource( 19 )
  616. [node name="howto" type="TouchScreenButton" parent="PauseMenu/play"]
  617. position = Vector2( 150, 624 )
  618. normal = ExtResource( 21 )
  619. [node name="BesourinhoUltra4k2" type="Sprite" parent="PauseMenu/play"]
  620. position = Vector2( 462, 1133 )
  621. rotation = 0.285841
  622. z_index = 20
  623. texture = ExtResource( 17 )
  624. region_enabled = true
  625. region_rect = Rect2( 35.4951, -1.51037, 78.6197, 152.539 )
  626. [node name="BesourinhoUltra4k3" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
  627. position = Vector2( -33, -24 )
  628. texture = ExtResource( 17 )
  629. offset = Vector2( -17, -22 )
  630. region_enabled = true
  631. region_rect = Rect2( 6.85741, 1.01094, 34.8782, 55.8891 )
  632. [node name="BesourinhoUltra4k4" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
  633. position = Vector2( -38, 4 )
  634. texture = ExtResource( 17 )
  635. offset = Vector2( -19, 8 )
  636. region_enabled = true
  637. region_rect = Rect2( -4.90872, 69.5066, 40.7612, 39.0803 )
  638. [node name="BesourinhoUltra4k5" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
  639. position = Vector2( -39, 42 )
  640. texture = ExtResource( 17 )
  641. offset = Vector2( -12, 15 )
  642. region_enabled = true
  643. region_rect = Rect2( 9.37872, 111.949, 27.7344, 43.7028 )
  644. [node name="BesourinhoUltra4k6" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
  645. position = Vector2( 33, -24 )
  646. scale = Vector2( -1, 1 )
  647. texture = ExtResource( 17 )
  648. offset = Vector2( -17, -22 )
  649. region_enabled = true
  650. region_rect = Rect2( 6.85741, 1.01094, 34.8782, 55.8891 )
  651. [node name="BesourinhoUltra4k7" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
  652. position = Vector2( 38, 4 )
  653. scale = Vector2( -1, 1 )
  654. texture = ExtResource( 17 )
  655. offset = Vector2( -19, 8 )
  656. region_enabled = true
  657. region_rect = Rect2( -4.90872, 69.5066, 40.7612, 39.0803 )
  658. [node name="BesourinhoUltra4k8" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
  659. position = Vector2( 38.5, 42 )
  660. scale = Vector2( -1, 1 )
  661. texture = ExtResource( 17 )
  662. offset = Vector2( -12, 15 )
  663. region_enabled = true
  664. region_rect = Rect2( 9.37872, 111.949, 27.7344, 43.7028 )
  665. [node name="AnimationPlayer" type="AnimationPlayer" parent="PauseMenu/play/BesourinhoUltra4k2"]
  666. pause_mode = 2
  667. "anims/Nova Animação" = SubResource( 21 )
  668. anims/RESET = SubResource( 22 )
  669. [node name="AnimationPlayer2" type="AnimationPlayer" parent="PauseMenu/play/BesourinhoUltra4k2"]
  670. pause_mode = 2
  671. root_node = NodePath("../../..")
  672. autoplay = "Nova Animação"
  673. "anims/Nova Animação" = SubResource( 18 )
  674. anims/RESET = SubResource( 19 )
  675. [node name="Tutorial" type="CanvasLayer" parent="."]
  676. pause_mode = 2
  677. script = ExtResource( 22 )
  678. playnode = NodePath("../PauseMenu/play")
  679. [node name="tut" type="Node2D" parent="Tutorial"]
  680. visible = false
  681. [node name="TextureButton4" type="Sprite" parent="Tutorial/tut"]
  682. material = SubResource( 13 )
  683. z_index = -255
  684. texture = ExtResource( 15 )
  685. centered = false
  686. region_enabled = true
  687. region_rect = Rect2( 0, 0, 540, 960 )
  688. [node name="back" type="TouchScreenButton" parent="Tutorial/tut"]
  689. pause_mode = 2
  690. position = Vector2( 0, 599 )
  691. normal = ExtResource( 23 )
  692. [node name="arrows" type="TouchScreenButton" parent="Tutorial/tut"]
  693. position = Vector2( 270, 775 )
  694. normal = ExtResource( 25 )
  695. [node name="arrows2" type="TouchScreenButton" parent="Tutorial/tut"]
  696. position = Vector2( 270, 775 )
  697. scale = Vector2( -1, 1 )
  698. normal = ExtResource( 25 )
  699. [node name="TutBg" type="Sprite" parent="Tutorial/tut"]
  700. texture = ExtResource( 24 )
  701. centered = false
  702. [node name="AnimatedSprite" type="AnimatedSprite" parent="Tutorial/tut"]
  703. frames = SubResource( 23 )
  704. animation = "New Anim"
  705. centered = false
  706. [node name="AnimatedSprite2" type="AnimatedSprite" parent="Tutorial/tut"]
  707. frames = SubResource( 23 )
  708. centered = false
  709. [connection signal="dieproxy" from="bacteria" to="restarter" method="_on_bacteria_dieproxy"]
  710. [connection signal="level_up" from="bacteria" to="PowerUpControl" method="_on_bacteria_level_up"]
  711. [connection signal="button_down" from="restarter/MarginContainer/VBoxContainer/Button" to="restarter" method="_on_Button_button_down"]
  712. [connection signal="item_activated" from="PowerUpControl/Control/VSeparator/ItemList" to="PowerUpControl" method="_on_ItemList_item_activated"]
  713. [connection signal="item_activated" from="PowerUpControl/Control2/VSeparator/ItemList" to="PowerUpControl" method="_on_ItemList_item_activated"]
  714. [connection signal="button_down" from="PowerUpControl/Control2/VSeparator/Button" to="PowerUpControl" method="_on_Button_button_down"]
  715. [connection signal="button_down" from="PowerUpControl/Control2/VSeparator/Button" to="PowerUpControl/AudioStreamPlayer" method="play"]
  716. [connection signal="pressed" from="PauseMenu/play/Play" to="PauseMenu" method="_on_Play_pressed"]
  717. [connection signal="pressed" from="PauseMenu/play/howto" to="Tutorial" method="_on_howto_pressed"]
  718. [connection signal="pressed" from="Tutorial/tut/back" to="Tutorial" method="_on_back_pressed"]
  719. [connection signal="pressed" from="Tutorial/tut/arrows" to="Tutorial" method="_on_arrows_pressed"]
  720. [connection signal="pressed" from="Tutorial/tut/arrows2" to="Tutorial" method="_on_arrows2_pressed"]