summaryrefslogtreecommitdiff
path: root/Scenes/Components/MapArea.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-08-10 11:48:05 +0200
committerDaniel Weipert <code@drogueronin.de>2023-08-10 11:48:05 +0200
commit46556d864b9685c3b09a0038f5de83966fe7ff94 (patch)
treec68082eacd35559e14565d1598dd694972fb8e0e /Scenes/Components/MapArea.tscn
Initial commit
Diffstat (limited to 'Scenes/Components/MapArea.tscn')
-rw-r--r--Scenes/Components/MapArea.tscn22
1 files changed, 22 insertions, 0 deletions
diff --git a/Scenes/Components/MapArea.tscn b/Scenes/Components/MapArea.tscn
new file mode 100644
index 0000000..fddb2b7
--- /dev/null
+++ b/Scenes/Components/MapArea.tscn
@@ -0,0 +1,22 @@
+[gd_scene load_steps=4 format=3 uid="uid://difwuijv2rlx5"]
+
+[ext_resource type="Script" path="res://Scenes/Components/MapArea.gd" id="1_lknuu"]
+[ext_resource type="PackedScene" uid="uid://d0t04jox4oxsv" path="res://Scenes/Components/TileMap.tscn" id="2_e336r"]
+
+[sub_resource type="RectangleShape2D" id="RectangleShape2D_744ux"]
+size = Vector2(240, 160)
+
+[node name="MapArea" type="Area2D"]
+collision_layer = 0
+collision_mask = 2
+script = ExtResource("1_lknuu")
+
+[node name="CollisionShapeBase" type="CollisionShape2D" parent="."]
+visible = false
+shape = SubResource("RectangleShape2D_744ux")
+disabled = true
+debug_color = Color(0, 0.639216, 0.345098, 0.419608)
+
+[node name="TileMap" parent="." instance=ExtResource("2_e336r")]
+
+[connection signal="body_entered" from="." to="." method="_on_body_entered"]