|
@@ -1,4 +1,4 @@
|
|
|
-[gd_scene load_steps=42 format=2]
|
|
|
+[gd_scene load_steps=56 format=2]
|
|
|
|
|
|
[ext_resource path="res://spawner.gd" type="Script" id=1]
|
|
|
[ext_resource path="res://bacteria.tscn" type="PackedScene" id=2]
|
|
@@ -20,6 +20,19 @@
|
|
|
[ext_resource path="res://ui/logo.png" type="Texture" id=18]
|
|
|
[ext_resource path="res://ui/play.png" type="Texture" id=19]
|
|
|
[ext_resource path="res://mainmenu.gd" type="Script" id=20]
|
|
|
+[ext_resource path="res://ui/tutorial/tutorial/tmp.png" type="Texture" id=21]
|
|
|
+[ext_resource path="res://Tutorial.gd" type="Script" id=22]
|
|
|
+[ext_resource path="res://ui/tutorial/tutorial/back.PNG" type="Texture" id=23]
|
|
|
+[ext_resource path="res://ui/tutorial/tutorial/tutBG.PNG" type="Texture" id=24]
|
|
|
+[ext_resource path="res://ui/tutorial/tutorial/buttonsOn.PNG" type="Texture" id=25]
|
|
|
+[ext_resource path="res://ui/tutorial/tutorial/tut3.PNG" type="Texture" id=26]
|
|
|
+[ext_resource path="res://ui/tutorial/tutorial/tut2.PNG" type="Texture" id=27]
|
|
|
+[ext_resource path="res://ui/tutorial/tutorial/tut4.PNG" type="Texture" id=28]
|
|
|
+[ext_resource path="res://ui/tutorial/tutorial/tut4Text.PNG" type="Texture" id=29]
|
|
|
+[ext_resource path="res://ui/tutorial/tutorial/tut1.PNG" type="Texture" id=30]
|
|
|
+[ext_resource path="res://ui/tutorial/tutorial/tut1Text.PNG" type="Texture" id=31]
|
|
|
+[ext_resource path="res://ui/tutorial/tutorial/tut2Text.PNG" type="Texture" id=32]
|
|
|
+[ext_resource path="res://ui/tutorial/tutorial/tut3Text.PNG" type="Texture" id=33]
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
|
font_data = ExtResource( 6 )
|
|
@@ -270,7 +283,7 @@ tracks/5/keys = {
|
|
|
resource_name = "Nova Animação"
|
|
|
length = 3.0
|
|
|
tracks/0/type = "value"
|
|
|
-tracks/0/path = NodePath("BesourinhoUltra4k:visible")
|
|
|
+tracks/0/path = NodePath("play/BesourinhoUltra4k:visible")
|
|
|
tracks/0/interp = 1
|
|
|
tracks/0/loop_wrap = true
|
|
|
tracks/0/imported = false
|
|
@@ -282,7 +295,7 @@ tracks/0/keys = {
|
|
|
"values": [ false, true ]
|
|
|
}
|
|
|
tracks/1/type = "value"
|
|
|
-tracks/1/path = NodePath("BesourinhoUltra4k2:visible")
|
|
|
+tracks/1/path = NodePath("play/BesourinhoUltra4k2:visible")
|
|
|
tracks/1/interp = 1
|
|
|
tracks/1/loop_wrap = true
|
|
|
tracks/1/imported = false
|
|
@@ -294,7 +307,7 @@ tracks/1/keys = {
|
|
|
"values": [ true, false ]
|
|
|
}
|
|
|
tracks/2/type = "animation"
|
|
|
-tracks/2/path = NodePath("BesourinhoUltra4k2/AnimationPlayer")
|
|
|
+tracks/2/path = NodePath("play/BesourinhoUltra4k2/AnimationPlayer")
|
|
|
tracks/2/interp = 1
|
|
|
tracks/2/loop_wrap = true
|
|
|
tracks/2/imported = false
|
|
@@ -304,7 +317,7 @@ tracks/2/keys = {
|
|
|
"times": PoolRealArray( 0 )
|
|
|
}
|
|
|
tracks/3/type = "value"
|
|
|
-tracks/3/path = NodePath("BesourinhoUltra4k2:position")
|
|
|
+tracks/3/path = NodePath("play/BesourinhoUltra4k2:position")
|
|
|
tracks/3/interp = 1
|
|
|
tracks/3/loop_wrap = true
|
|
|
tracks/3/imported = false
|
|
@@ -316,7 +329,7 @@ tracks/3/keys = {
|
|
|
"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 ) ]
|
|
|
}
|
|
|
tracks/4/type = "value"
|
|
|
-tracks/4/path = NodePath("BesourinhoUltra4k2:rotation_degrees")
|
|
|
+tracks/4/path = NodePath("play/BesourinhoUltra4k2:rotation_degrees")
|
|
|
tracks/4/interp = 2
|
|
|
tracks/4/loop_wrap = true
|
|
|
tracks/4/imported = false
|
|
@@ -330,54 +343,19 @@ tracks/4/keys = {
|
|
|
|
|
|
[sub_resource type="Animation" id=19]
|
|
|
length = 0.001
|
|
|
-tracks/0/type = "value"
|
|
|
-tracks/0/path = NodePath("BesourinhoUltra4k:visible")
|
|
|
-tracks/0/interp = 1
|
|
|
-tracks/0/loop_wrap = true
|
|
|
-tracks/0/imported = false
|
|
|
-tracks/0/enabled = true
|
|
|
-tracks/0/keys = {
|
|
|
-"times": PoolRealArray( 0 ),
|
|
|
-"transitions": PoolRealArray( 1 ),
|
|
|
-"update": 0,
|
|
|
-"values": [ false ]
|
|
|
-}
|
|
|
-tracks/1/type = "value"
|
|
|
-tracks/1/path = NodePath("BesourinhoUltra4k2:visible")
|
|
|
-tracks/1/interp = 1
|
|
|
-tracks/1/loop_wrap = true
|
|
|
-tracks/1/imported = false
|
|
|
-tracks/1/enabled = true
|
|
|
-tracks/1/keys = {
|
|
|
-"times": PoolRealArray( 0 ),
|
|
|
-"transitions": PoolRealArray( 1 ),
|
|
|
-"update": 0,
|
|
|
-"values": [ true ]
|
|
|
-}
|
|
|
-tracks/2/type = "value"
|
|
|
-tracks/2/path = NodePath("BesourinhoUltra4k2:position")
|
|
|
-tracks/2/interp = 1
|
|
|
-tracks/2/loop_wrap = true
|
|
|
-tracks/2/imported = false
|
|
|
-tracks/2/enabled = true
|
|
|
-tracks/2/keys = {
|
|
|
-"times": PoolRealArray( 0 ),
|
|
|
-"transitions": PoolRealArray( 1 ),
|
|
|
-"update": 0,
|
|
|
-"values": [ Vector2( 384, 613 ) ]
|
|
|
-}
|
|
|
-tracks/3/type = "value"
|
|
|
-tracks/3/path = NodePath("BesourinhoUltra4k2:rotation_degrees")
|
|
|
-tracks/3/interp = 1
|
|
|
-tracks/3/loop_wrap = true
|
|
|
-tracks/3/imported = false
|
|
|
-tracks/3/enabled = true
|
|
|
-tracks/3/keys = {
|
|
|
-"times": PoolRealArray( 0 ),
|
|
|
-"transitions": PoolRealArray( 1 ),
|
|
|
-"update": 0,
|
|
|
-"values": [ 0.0 ]
|
|
|
-}
|
|
|
+
|
|
|
+[sub_resource type="SpriteFrames" id=23]
|
|
|
+animations = [ {
|
|
|
+"frames": [ ExtResource( 30 ), ExtResource( 27 ), ExtResource( 26 ), ExtResource( 28 ) ],
|
|
|
+"loop": true,
|
|
|
+"name": "default",
|
|
|
+"speed": 5.0
|
|
|
+}, {
|
|
|
+"frames": [ ExtResource( 31 ), ExtResource( 32 ), ExtResource( 33 ), ExtResource( 29 ) ],
|
|
|
+"loop": true,
|
|
|
+"name": "New Anim",
|
|
|
+"speed": 5.0
|
|
|
+} ]
|
|
|
|
|
|
[node name="main" type="YSort"]
|
|
|
position = Vector2( 2, 0 )
|
|
@@ -696,7 +674,9 @@ autoplay = true
|
|
|
pause_mode = 2
|
|
|
script = ExtResource( 20 )
|
|
|
|
|
|
-[node name="TextureButton3" type="Sprite" parent="PauseMenu"]
|
|
|
+[node name="play" type="Node2D" parent="PauseMenu"]
|
|
|
+
|
|
|
+[node name="TextureButton3" type="Sprite" parent="PauseMenu/play"]
|
|
|
material = SubResource( 13 )
|
|
|
z_index = -255
|
|
|
texture = ExtResource( 15 )
|
|
@@ -704,52 +684,57 @@ centered = false
|
|
|
region_enabled = true
|
|
|
region_rect = Rect2( 0, 0, 540, 960 )
|
|
|
|
|
|
-[node name="Logo" type="Sprite" parent="PauseMenu"]
|
|
|
+[node name="Logo" type="Sprite" parent="PauseMenu/play"]
|
|
|
position = Vector2( 267, 162 )
|
|
|
texture = ExtResource( 18 )
|
|
|
|
|
|
-[node name="BesourinhoUltra4k" type="AnimatedSprite" parent="PauseMenu"]
|
|
|
+[node name="BesourinhoUltra4k" type="AnimatedSprite" parent="PauseMenu/play"]
|
|
|
visible = false
|
|
|
position = Vector2( 434, 819 )
|
|
|
rotation = -0.561978
|
|
|
z_index = 20
|
|
|
frames = SubResource( 17 )
|
|
|
-frame = 12
|
|
|
+frame = 11
|
|
|
playing = true
|
|
|
|
|
|
-[node name="Play" type="TouchScreenButton" parent="PauseMenu"]
|
|
|
-position = Vector2( -2, 697 )
|
|
|
+[node name="Play" type="TouchScreenButton" parent="PauseMenu/play"]
|
|
|
+position = Vector2( 60, 740 )
|
|
|
normal = ExtResource( 19 )
|
|
|
|
|
|
-[node name="BesourinhoUltra4k2" type="Sprite" parent="PauseMenu"]
|
|
|
-position = Vector2( 384, 613 )
|
|
|
+[node name="howto" type="TouchScreenButton" parent="PauseMenu/play"]
|
|
|
+position = Vector2( 150, 624 )
|
|
|
+normal = ExtResource( 21 )
|
|
|
+
|
|
|
+[node name="BesourinhoUltra4k2" type="Sprite" parent="PauseMenu/play"]
|
|
|
+position = Vector2( 462, 1133 )
|
|
|
+rotation = 0.285841
|
|
|
z_index = 20
|
|
|
texture = ExtResource( 17 )
|
|
|
region_enabled = true
|
|
|
region_rect = Rect2( 35.4951, -1.51037, 78.6197, 152.539 )
|
|
|
|
|
|
-[node name="BesourinhoUltra4k3" type="Sprite" parent="PauseMenu/BesourinhoUltra4k2"]
|
|
|
+[node name="BesourinhoUltra4k3" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
|
|
|
position = Vector2( -33, -24 )
|
|
|
texture = ExtResource( 17 )
|
|
|
offset = Vector2( -17, -22 )
|
|
|
region_enabled = true
|
|
|
region_rect = Rect2( 6.85741, 1.01094, 34.8782, 55.8891 )
|
|
|
|
|
|
-[node name="BesourinhoUltra4k4" type="Sprite" parent="PauseMenu/BesourinhoUltra4k2"]
|
|
|
+[node name="BesourinhoUltra4k4" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
|
|
|
position = Vector2( -38, 4 )
|
|
|
texture = ExtResource( 17 )
|
|
|
offset = Vector2( -19, 8 )
|
|
|
region_enabled = true
|
|
|
region_rect = Rect2( -4.90872, 69.5066, 40.7612, 39.0803 )
|
|
|
|
|
|
-[node name="BesourinhoUltra4k5" type="Sprite" parent="PauseMenu/BesourinhoUltra4k2"]
|
|
|
+[node name="BesourinhoUltra4k5" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
|
|
|
position = Vector2( -39, 42 )
|
|
|
texture = ExtResource( 17 )
|
|
|
offset = Vector2( -12, 15 )
|
|
|
region_enabled = true
|
|
|
region_rect = Rect2( 9.37872, 111.949, 27.7344, 43.7028 )
|
|
|
|
|
|
-[node name="BesourinhoUltra4k6" type="Sprite" parent="PauseMenu/BesourinhoUltra4k2"]
|
|
|
+[node name="BesourinhoUltra4k6" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
|
|
|
position = Vector2( 33, -24 )
|
|
|
scale = Vector2( -1, 1 )
|
|
|
texture = ExtResource( 17 )
|
|
@@ -757,7 +742,7 @@ offset = Vector2( -17, -22 )
|
|
|
region_enabled = true
|
|
|
region_rect = Rect2( 6.85741, 1.01094, 34.8782, 55.8891 )
|
|
|
|
|
|
-[node name="BesourinhoUltra4k7" type="Sprite" parent="PauseMenu/BesourinhoUltra4k2"]
|
|
|
+[node name="BesourinhoUltra4k7" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
|
|
|
position = Vector2( 38, 4 )
|
|
|
scale = Vector2( -1, 1 )
|
|
|
texture = ExtResource( 17 )
|
|
@@ -765,7 +750,7 @@ offset = Vector2( -19, 8 )
|
|
|
region_enabled = true
|
|
|
region_rect = Rect2( -4.90872, 69.5066, 40.7612, 39.0803 )
|
|
|
|
|
|
-[node name="BesourinhoUltra4k8" type="Sprite" parent="PauseMenu/BesourinhoUltra4k2"]
|
|
|
+[node name="BesourinhoUltra4k8" type="Sprite" parent="PauseMenu/play/BesourinhoUltra4k2"]
|
|
|
position = Vector2( 38.5, 42 )
|
|
|
scale = Vector2( -1, 1 )
|
|
|
texture = ExtResource( 17 )
|
|
@@ -773,19 +758,60 @@ offset = Vector2( -12, 15 )
|
|
|
region_enabled = true
|
|
|
region_rect = Rect2( 9.37872, 111.949, 27.7344, 43.7028 )
|
|
|
|
|
|
-[node name="AnimationPlayer" type="AnimationPlayer" parent="PauseMenu/BesourinhoUltra4k2"]
|
|
|
+[node name="AnimationPlayer" type="AnimationPlayer" parent="PauseMenu/play/BesourinhoUltra4k2"]
|
|
|
pause_mode = 2
|
|
|
"anims/Nova Animação" = SubResource( 21 )
|
|
|
anims/RESET = SubResource( 22 )
|
|
|
|
|
|
-[node name="AnimationPlayer2" type="AnimationPlayer" parent="PauseMenu/BesourinhoUltra4k2"]
|
|
|
+[node name="AnimationPlayer2" type="AnimationPlayer" parent="PauseMenu/play/BesourinhoUltra4k2"]
|
|
|
pause_mode = 2
|
|
|
-root_node = NodePath("../..")
|
|
|
+root_node = NodePath("../../..")
|
|
|
autoplay = "Nova Animação"
|
|
|
"anims/Nova Animação" = SubResource( 18 )
|
|
|
anims/RESET = SubResource( 19 )
|
|
|
|
|
|
[node name="Tutorial" type="CanvasLayer" parent="."]
|
|
|
+pause_mode = 2
|
|
|
+script = ExtResource( 22 )
|
|
|
+playnode = NodePath("../PauseMenu/play")
|
|
|
+
|
|
|
+[node name="tut" type="Node2D" parent="Tutorial"]
|
|
|
+visible = false
|
|
|
+
|
|
|
+[node name="TextureButton4" type="Sprite" parent="Tutorial/tut"]
|
|
|
+material = SubResource( 13 )
|
|
|
+z_index = -255
|
|
|
+texture = ExtResource( 15 )
|
|
|
+centered = false
|
|
|
+region_enabled = true
|
|
|
+region_rect = Rect2( 0, 0, 540, 960 )
|
|
|
+
|
|
|
+[node name="back" type="TouchScreenButton" parent="Tutorial/tut"]
|
|
|
+pause_mode = 2
|
|
|
+position = Vector2( 0, 599 )
|
|
|
+normal = ExtResource( 23 )
|
|
|
+
|
|
|
+[node name="arrows" type="TouchScreenButton" parent="Tutorial/tut"]
|
|
|
+position = Vector2( 270, 775 )
|
|
|
+normal = ExtResource( 25 )
|
|
|
+
|
|
|
+[node name="arrows2" type="TouchScreenButton" parent="Tutorial/tut"]
|
|
|
+position = Vector2( 270, 775 )
|
|
|
+scale = Vector2( -1, 1 )
|
|
|
+normal = ExtResource( 25 )
|
|
|
+
|
|
|
+[node name="TutBg" type="Sprite" parent="Tutorial/tut"]
|
|
|
+texture = ExtResource( 24 )
|
|
|
+centered = false
|
|
|
+
|
|
|
+[node name="AnimatedSprite" type="AnimatedSprite" parent="Tutorial/tut"]
|
|
|
+frames = SubResource( 23 )
|
|
|
+animation = "New Anim"
|
|
|
+centered = false
|
|
|
+
|
|
|
+[node name="AnimatedSprite2" type="AnimatedSprite" parent="Tutorial/tut"]
|
|
|
+frames = SubResource( 23 )
|
|
|
+centered = false
|
|
|
|
|
|
[connection signal="dieproxy" from="bacteria" to="restarter" method="_on_bacteria_dieproxy"]
|
|
|
[connection signal="level_up" from="bacteria" to="PowerUpControl" method="_on_bacteria_level_up"]
|
|
@@ -794,4 +820,8 @@ anims/RESET = SubResource( 19 )
|
|
|
[connection signal="item_activated" from="PowerUpControl/Control2/VSeparator/ItemList" to="PowerUpControl" method="_on_ItemList_item_activated"]
|
|
|
[connection signal="button_down" from="PowerUpControl/Control2/VSeparator/Button" to="PowerUpControl" method="_on_Button_button_down"]
|
|
|
[connection signal="button_down" from="PowerUpControl/Control2/VSeparator/Button" to="PowerUpControl/AudioStreamPlayer" method="play"]
|
|
|
-[connection signal="pressed" from="PauseMenu/Play" to="PauseMenu" method="_on_Play_pressed"]
|
|
|
+[connection signal="pressed" from="PauseMenu/play/Play" to="PauseMenu" method="_on_Play_pressed"]
|
|
|
+[connection signal="pressed" from="PauseMenu/play/howto" to="Tutorial" method="_on_howto_pressed"]
|
|
|
+[connection signal="pressed" from="Tutorial/tut/back" to="Tutorial" method="_on_back_pressed"]
|
|
|
+[connection signal="pressed" from="Tutorial/tut/arrows" to="Tutorial" method="_on_arrows_pressed"]
|
|
|
+[connection signal="pressed" from="Tutorial/tut/arrows2" to="Tutorial" method="_on_arrows2_pressed"]
|