|
@@ -1,11 +1,12 @@
|
|
|
-[gd_scene load_steps=8 format=2]
|
|
|
+[gd_scene load_steps=9 format=2]
|
|
|
|
|
|
[ext_resource path="res://Main.gd" type="Script" id=1]
|
|
|
[ext_resource path="res://Enemy.tscn" type="PackedScene" id=2]
|
|
|
-[ext_resource path="res://Player.tscn" type="PackedScene" id=3]
|
|
|
-[ext_resource path="res://HUD.tscn" type="PackedScene" id=4]
|
|
|
-[ext_resource path="res://dodge_assets/art/House In a Forest Loop.ogg" type="AudioStream" id=5]
|
|
|
-[ext_resource path="res://dodge_assets/art/gameover.wav" type="AudioStream" id=6]
|
|
|
+[ext_resource path="res://Background.tscn" type="PackedScene" id=3]
|
|
|
+[ext_resource path="res://Player.tscn" type="PackedScene" id=4]
|
|
|
+[ext_resource path="res://HUD.tscn" type="PackedScene" id=5]
|
|
|
+[ext_resource path="res://dodge_assets/art/House In a Forest Loop.ogg" type="AudioStream" id=6]
|
|
|
+[ext_resource path="res://dodge_assets/art/gameover.wav" type="AudioStream" id=7]
|
|
|
|
|
|
[sub_resource type="Curve2D" id=1]
|
|
|
_data = {
|
|
@@ -19,10 +20,10 @@ __meta__ = {
|
|
|
}
|
|
|
Mob = ExtResource( 2 )
|
|
|
|
|
|
-[node name="ColorRect" type="ColorRect" parent="."]
|
|
|
-margin_right = 577.0
|
|
|
-margin_bottom = 739.0
|
|
|
-color = Color( 0.152941, 0.0156863, 0.0156863, 1 )
|
|
|
+[node name="Background" parent="." instance=ExtResource( 3 )]
|
|
|
+margin_right = 504.0
|
|
|
+margin_bottom = 748.0
|
|
|
+rect_min_size = Vector2( 100, 100 )
|
|
|
|
|
|
[node name="MobTimer" type="Timer" parent="."]
|
|
|
wait_time = 0.53
|
|
@@ -43,16 +44,16 @@ curve = SubResource( 1 )
|
|
|
position = Vector2( -1.05261, 2.78944 )
|
|
|
rotation = -6.07153e-08
|
|
|
|
|
|
-[node name="Player" parent="." instance=ExtResource( 3 )]
|
|
|
+[node name="Player" parent="." instance=ExtResource( 4 )]
|
|
|
position = Vector2( 245.983, 380.055 )
|
|
|
|
|
|
-[node name="HUD" parent="." instance=ExtResource( 4 )]
|
|
|
+[node name="HUD" parent="." instance=ExtResource( 5 )]
|
|
|
|
|
|
[node name="Music" type="AudioStreamPlayer" parent="."]
|
|
|
-stream = ExtResource( 5 )
|
|
|
+stream = ExtResource( 6 )
|
|
|
|
|
|
[node name="DeathSound" type="AudioStreamPlayer" parent="."]
|
|
|
-stream = ExtResource( 6 )
|
|
|
+stream = ExtResource( 7 )
|
|
|
[connection signal="timeout" from="MobTimer" to="." method="_on_MobTimer_timeout"]
|
|
|
[connection signal="timeout" from="ScoreTimer" to="." method="_on_ScoreTimer_timeout"]
|
|
|
[connection signal="timeout" from="StartTimer" to="Player" method="spawn"]
|