mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-02 13:21:17 +00:00
Door connections
This commit is contained in:
parent
cae1f99949
commit
700be1e207
11 changed files with 127 additions and 149 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=7 format=4 uid="uid://24wh7h2dbljf"]
|
||||
[gd_scene load_steps=8 format=4 uid="uid://24wh7h2dbljf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_vhsym"]
|
||||
[ext_resource type="Resource" uid="uid://dn3ai56rrxfnk" path="res://Resources/RogueliteMaps/Beginner1.tres" id="2_vhsym"]
|
||||
|
|
@ -7,6 +7,9 @@
|
|||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="4_pys6w"]
|
||||
[ext_resource type="Script" uid="uid://ddry5kjj3fr6c" path="res://Scripts/Controllers/DoorMarker.cs" id="5_mqiea"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_u3c1h"]
|
||||
size = Vector2(272, 85)
|
||||
|
||||
[node name="Tilemaps" type="Node2D"]
|
||||
process_mode = 1
|
||||
script = ExtResource("1_vhsym")
|
||||
|
|
@ -57,3 +60,13 @@ Direction = 2
|
|||
position = Vector2(8.1806, 87.7693)
|
||||
script = ExtResource("5_mqiea")
|
||||
Direction = 3
|
||||
|
||||
[node name="PlayerEnterDetector" type="Area2D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerEnterDetector"]
|
||||
position = Vector2(162, 94.5)
|
||||
shape = SubResource("RectangleShape2D_u3c1h")
|
||||
|
||||
[connection signal="area_entered" from="PlayerEnterDetector" to="." method="OnRoomEntered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue