diff --git a/assets/sounds/02. Underground Theme.mp3 b/assets/sounds/02. Underground Theme.mp3 new file mode 100644 index 0000000..aff56e8 Binary files /dev/null and b/assets/sounds/02. Underground Theme.mp3 differ diff --git a/assets/sounds/02. Underground Theme.mp3.import b/assets/sounds/02. Underground Theme.mp3.import new file mode 100644 index 0000000..a86f487 --- /dev/null +++ b/assets/sounds/02. Underground Theme.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://dsidx3ln87nn7" +path="res://.godot/imported/02. Underground Theme.mp3-48fe7af9d35600b2cbee60756ac97b08.mp3str" + +[deps] + +source_file="res://assets/sounds/02. Underground Theme.mp3" +dest_files=["res://.godot/imported/02. Underground Theme.mp3-48fe7af9d35600b2cbee60756ac97b08.mp3str"] + +[params] + +loop=true +loop_offset=0.0 +bpm=0.0 +beat_count=0 +bar_beats=4 diff --git a/scenes/levels/level_2.tscn b/scenes/levels/level_2.tscn index 9b89874..a284860 100644 --- a/scenes/levels/level_2.tscn +++ b/scenes/levels/level_2.tscn @@ -3,11 +3,11 @@ [ext_resource type="PackedScene" uid="uid://dk1aby88pygtr" path="res://scenes/player.tscn" id="1_76q1j"] [ext_resource type="Texture2D" uid="uid://bbf2n32u766cp" path="res://assets/bg-1-2.png" id="1_cckci"] [ext_resource type="Texture2D" uid="uid://chrld8oybp4me" path="res://assets/bg-1-1.png" id="2_ch7g2"] -[ext_resource type="AudioStream" uid="uid://cdtrw675os7dh" path="res://assets/sounds/01. Ground Theme.mp3" id="2_oyk11"] [ext_resource type="FontFile" uid="uid://cpwx7datjer6s" path="res://assets/PixelOperator8.ttf" id="3_keyc4"] [ext_resource type="Script" path="res://scripts/WorldBoundDown.gd" id="3_xiqi1"] [ext_resource type="PackedScene" uid="uid://d25ukpt8ot8xv" path="res://scenes/blocks/itemblock.tscn" id="6_1xseh"] [ext_resource type="PackedScene" uid="uid://cc4excywfdh1v" path="res://scenes/blocks/destroyblock_dark.tscn" id="6_hol3k"] +[ext_resource type="AudioStream" uid="uid://dsidx3ln87nn7" path="res://assets/sounds/02. Underground Theme.mp3" id="7_gpqh0"] [ext_resource type="PackedScene" uid="uid://nm5keea43u56" path="res://scenes/items/coin.tscn" id="9_a4rwl"] [ext_resource type="PackedScene" uid="uid://be832pldgbeyk" path="res://scenes/pipe.tscn" id="10_aqfih"] [ext_resource type="PackedScene" uid="uid://ct54hcx2h7riy" path="res://scenes/blocks/spawner.tscn" id="11_djx30"] @@ -45045,8 +45045,8 @@ position = Vector2(-112, -96) [node name="Music" type="AudioStreamPlayer" parent="."] unique_name_in_owner = true -stream = ExtResource("2_oyk11") -volume_db = -80.0 +stream = ExtResource("7_gpqh0") +volume_db = -5.0 autoplay = true [node name="WorldBoundDown" type="Area2D" parent="."] @@ -45791,6 +45791,18 @@ position = Vector2(720, 0) [node name="StaticBody2D5" parent="invisibleBarriers" instance=ExtResource("18_ujrgy")] position = Vector2(736, 0) +[node name="StaticBody2D6" parent="invisibleBarriers" instance=ExtResource("18_ujrgy")] +position = Vector2(1056, -64) + +[node name="StaticBody2D7" parent="invisibleBarriers" instance=ExtResource("18_ujrgy")] +position = Vector2(1136, -64) + +[node name="StaticBody2D8" parent="invisibleBarriers" instance=ExtResource("18_ujrgy")] +position = Vector2(2160, 0) + +[node name="StaticBody2D9" parent="invisibleBarriers" instance=ExtResource("18_ujrgy")] +position = Vector2(2400, 0) + [node name="Flag" parent="." instance=ExtResource("15_n64v8")] position = Vector2(216, -679) load_level = "level_1" diff --git a/scripts/enemies/coopa.gd b/scripts/enemies/coopa.gd index a9a4695..ad9bd34 100644 --- a/scripts/enemies/coopa.gd +++ b/scripts/enemies/coopa.gd @@ -73,6 +73,7 @@ func f_die(): die_sound.play() speed = 0 innocent = true + collision_layer = 32 timer.start() func f_shrink(body):