summaryrefslogtreecommitdiff
path: root/Scenes/Maps/World.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2023-12-28 09:07:41 +0100
committerDaniel Weipert <git@mail.dweipert.de>2023-12-28 09:07:41 +0100
commit96d36cee33d6321834565f0a5d412ef95c5ceffd (patch)
tree0dec02c5915cc154d48eef6ac9c2cd0be7df7982 /Scenes/Maps/World.tscn
parent46556d864b9685c3b09a0038f5de83966fe7ff94 (diff)
next commit
Diffstat (limited to 'Scenes/Maps/World.tscn')
-rw-r--r--Scenes/Maps/World.tscn14
1 files changed, 11 insertions, 3 deletions
diff --git a/Scenes/Maps/World.tscn b/Scenes/Maps/World.tscn
index 2414d14..f59a8ee 100644
--- a/Scenes/Maps/World.tscn
+++ b/Scenes/Maps/World.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=13 format=3 uid="uid://45xfj36bdsjw"]
+[gd_scene load_steps=14 format=3 uid="uid://45xfj36bdsjw"]
[ext_resource type="Script" path="res://Scenes/Maps/World.gd" id="1_7jam1"]
[ext_resource type="PackedScene" uid="uid://d0t04jox4oxsv" path="res://Scenes/Components/TileMap.tscn" id="2_hrdtq"]
@@ -6,6 +6,7 @@
[ext_resource type="PackedScene" uid="uid://dgyk1sged38ct" path="res://Scenes/Entities/Enemies/Enemy.tscn" id="3_p230b"]
[ext_resource type="Script" path="res://Scenes/Components/MapArea.gd" id="4_5p13h"]
[ext_resource type="PackedScene" uid="uid://cluuq4bwb8ebs" path="res://Scenes/Components/PlayerPosition.tscn" id="6_tmdwn"]
+[ext_resource type="AudioStream" uid="uid://cbcrrlrhabvlv" path="res://Assets/goblins.mp3" id="7_d7rhd"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ts8f5"]
size = Vector2(304, 208)
@@ -124,5 +125,12 @@ position = Vector2(152, 368)
[node name="InitialPlayerPosition" type="Node2D" parent="."]
position = Vector2(64, 256)
-[connection signal="body_entered" from="Areas/MapArea" to="Areas/MapArea" method="_on_body_entered" flags=18]
-[connection signal="body_entered" from="Areas/MapArea2" to="Areas/MapArea2" method="_on_body_entered" flags=18]
+[node name="MusicBackground" type="AudioStreamPlayer" parent="."]
+process_mode = 3
+stream = ExtResource("7_d7rhd")
+volume_db = -15.0
+autoplay = true
+mix_target = 1
+
+[connection signal="body_entered" from="Areas/MapArea" to="Areas/MapArea" method="_on_body_entered"]
+[connection signal="body_entered" from="Areas/MapArea2" to="Areas/MapArea2" method="_on_body_entered"]