diff options
Diffstat (limited to 'Scenes/Components/MapArea.tscn')
-rw-r--r-- | Scenes/Components/MapArea.tscn | 22 |
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"] |