|
@@ -9,7 +9,7 @@
|
|
|
|
|
|
[sub_resource type="Curve2D" id=1]
|
|
|
_data = {
|
|
|
-"points": PoolVector2Array( 0, 0, 0, 0, 1.70602, 3.56798, 0, 0, 0, 0, 482.263, 3.26522, 0, 0, 0, 0, 480.489, 729.458, 0, 0, 0, 0, 0.794434, 732.118, 0, 0, 0, 0, 1.97066, 3.83263 )
|
|
|
+"points": PoolVector2Array( 0, 0, 0, 0, -0.901337, 0.225891, 0, 0, 0, 0, 480.262, 1.29041, 0, 0, 0, 0, 481.327, 700.681, 0, 0, 0, 0, 0.163177, 698.552, 0, 0, 0, 0, -0.901337, 0.225891 )
|
|
|
}
|
|
|
|
|
|
[node name="Main" type="Node"]
|
|
@@ -17,9 +17,9 @@ script = ExtResource( 1 )
|
|
|
Mob = ExtResource( 2 )
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
|
-margin_right = 486.0
|
|
|
-margin_bottom = 734.0
|
|
|
-color = Color( 0.253451, 0.425288, 0.429412, 1 )
|
|
|
+anchor_right = 1.0
|
|
|
+anchor_bottom = 1.0
|
|
|
+color = Color( 0.223529, 0.317647, 0.368627, 1 )
|
|
|
|
|
|
[node name="Player" parent="." instance=ExtResource( 3 )]
|
|
|
|
|
@@ -35,22 +35,20 @@ one_shot = true
|
|
|
[node name="StartPosition" type="Position2D" parent="."]
|
|
|
position = Vector2( 240, 450 )
|
|
|
|
|
|
+[node name="MobPath" type="Path2D" parent="."]
|
|
|
+curve = SubResource( 1 )
|
|
|
+
|
|
|
+[node name="MobSpawnLocation" type="PathFollow2D" parent="MobPath"]
|
|
|
+position = Vector2( -0.901337, 0.225891 )
|
|
|
+rotation = 0.00221238
|
|
|
+
|
|
|
[node name="HUD" parent="." instance=ExtResource( 4 )]
|
|
|
|
|
|
[node name="Music" type="AudioStreamPlayer" parent="."]
|
|
|
stream = ExtResource( 5 )
|
|
|
-volume_db = -8.0
|
|
|
|
|
|
[node name="DeathSound" type="AudioStreamPlayer" parent="."]
|
|
|
stream = ExtResource( 6 )
|
|
|
-volume_db = -5.0
|
|
|
-
|
|
|
-[node name="MobPath" type="Path2D" parent="."]
|
|
|
-curve = SubResource( 1 )
|
|
|
-
|
|
|
-[node name="MobSpawnLocation" type="PathFollow2D" parent="MobPath"]
|
|
|
-position = Vector2( 1.70602, 3.56798 )
|
|
|
-rotation = -0.000630111
|
|
|
|
|
|
[connection signal="hit" from="Player" to="." method="game_over"]
|
|
|
[connection signal="timeout" from="MobTimer" to="." method="_on_MobTimer_timeout"]
|