summaryrefslogtreecommitdiff
path: root/Scenes/Components/MapArea.tscn
blob: fddb2b760512dbd2edfbd84b389dbacddb00b732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"]