From 46556d864b9685c3b09a0038f5de83966fe7ff94 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 10 Aug 2023 11:48:05 +0200 Subject: Initial commit --- Scenes/Components/MapArea.tscn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Scenes/Components/MapArea.tscn (limited to 'Scenes/Components/MapArea.tscn') 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"] -- cgit v1.2.3