Added snowmen damage + music

This commit is contained in:
tiffanyfrias10
2021-11-30 20:16:38 -06:00
parent e8d659ed93
commit 73efc1ffea
22 changed files with 447 additions and 351 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=15 format=2]
[gd_scene load_steps=16 format=2]
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://Levels/Level 3.gd" type="Script" id=2]
@@ -10,6 +10,7 @@
[ext_resource path="res://Levels/Interactives/Countdown.gd" type="Script" id=8]
[ext_resource path="res://GUI/HUD.tscn" type="PackedScene" id=9]
[ext_resource path="res://GUI/Pause Screen.tscn" type="PackedScene" id=10]
[ext_resource path="res://Music/Level_3.mp3" type="AudioStream" id=11]
[sub_resource type="CapsuleShape2D" id=1]
radius = 9.0515
@@ -48,25 +49,33 @@ FRICTION = 500
[node name="tree6" type="StaticBody2D" parent="YSort"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="YSort/tree6"]
position = Vector2( 72.1774, 92.5564 )
position = Vector2( 71.8801, 91.6645 )
shape = SubResource( 1 )
[node name="forestTreeBig2" type="Sprite" parent="YSort/tree6"]
position = Vector2( 72.0738, 92.0067 )
texture = ExtResource( 5 )
[node name="snowmen_enemy5" parent="YSort" instance=ExtResource( 6 )]
position = Vector2( 292.382, 22.7352 )
[node name="blue_snowman2" parent="YSort" groups=[
"enemies",
] instance=ExtResource( 6 )]
position = Vector2( 259.084, 49.7897 )
script = ExtResource( 7 )
[node name="snowmen_enemy4" parent="YSort" instance=ExtResource( 6 )]
[node name="blue_snowman" parent="YSort" groups=[
"enemies",
] instance=ExtResource( 6 )]
position = Vector2( 261.1, 142.19 )
script = ExtResource( 7 )
[node name="snowmen_enemy2" parent="YSort" instance=ExtResource( 4 )]
[node name="snowmen_enemy2" parent="YSort" groups=[
"enemies",
] instance=ExtResource( 4 )]
position = Vector2( 190.316, 146.569 )
[node name="snowmen_enemy" parent="YSort" instance=ExtResource( 4 )]
[node name="snowmen_enemy" parent="YSort" groups=[
"enemies",
] instance=ExtResource( 4 )]
position = Vector2( 67.4812, 153.194 )
[node name="tree5" type="StaticBody2D" parent="YSort"]
@@ -204,6 +213,9 @@ margin_top = 4.7622
margin_right = 198.512
margin_bottom = 44.7622
text = "0"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Timer" type="Timer" parent="Countdown"]
process_mode = 0
@@ -214,4 +226,7 @@ autostart = true
[node name="Pause Screen" parent="." instance=ExtResource( 10 )]
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 11 )
[connection signal="timeout" from="Countdown/Timer" to="Countdown" method="_on_Timer_timeout"]