add sound effects

This commit is contained in:
2024-07-02 13:25:34 +02:00
parent 96e86f7fbe
commit cb235310f1
38 changed files with 163 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=14 format=2]
[gd_scene load_steps=15 format=2]
[ext_resource path="res://Tilesets/stone.png" type="Texture" id=1]
[ext_resource path="res://Tilesets/dirt.png" type="Texture" id=2]
@@ -6,6 +6,7 @@
[ext_resource path="res://NPCs/goblin.tscn" type="PackedScene" id=4]
[ext_resource path="res://NPCs/ooze.tscn" type="PackedScene" id=5]
[ext_resource path="res://NPCs/moss.tscn" type="PackedScene" id=6]
[ext_resource path="res://Audio/Background/cave.ogg" type="AudioStream" id=7]
[sub_resource type="ConvexPolygonShape2D" id=1]
points = PoolVector2Array( 0, 0, 8, 0, 8, 8, 0, 8 )
@@ -156,10 +157,14 @@ position = Vector2( 36, 20 )
position = Vector2( 44, 52 )
[node name="Goblin" parent="." instance=ExtResource( 4 )]
position = Vector2( 12, 20 )
position = Vector2( 28, 52 )
[node name="Goblin2" parent="." instance=ExtResource( 4 )]
position = Vector2( 28, 28 )
[node name="Ooze2" parent="." instance=ExtResource( 5 )]
position = Vector2( 36, 52 )
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 7 )
autoplay = true