summaryrefslogtreecommitdiff
path: root/DungeonSystem/scenes/Door.tscn
blob: 17fafd0ecb17cf5510e51dfa05d0aea75f8e19ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[gd_scene format=3 uid="uid://bnllfdi8bdsfq"]

[ext_resource type="Script" uid="uid://csm4y4okldumw" path="res://DungeonSystem/scripts/Door.cs" id="1_trbpl"]
[ext_resource type="Texture2D" uid="uid://cm85xl58511xg" path="res://2D Pixel Dungeon Asset Pack/items and trap_animation/flag/flag_1.png" id="1_v81qt"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_0m7y3"]
size = Vector2(14, 13)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_pclqv"]
size = Vector2(28, 14)

[node name="Door" type="Node2D" unique_id=1422902327]
script = ExtResource("1_trbpl")

[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1525795761]
texture = ExtResource("1_v81qt")

[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=1528162459]
collision_layer = 0
collision_mask = 0

[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=1400001054]
position = Vector2(0, 1.5)
shape = SubResource("RectangleShape2D_0m7y3")

[node name="Area2D" type="Area2D" parent="." unique_id=697043373]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=740711026]
position = Vector2(-29, 2)
shape = SubResource("RectangleShape2D_pclqv")