mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-04 02:01:16 +00:00
Automatic doors
This commit is contained in:
parent
c3107fbce9
commit
3fc39f63c4
29 changed files with 401 additions and 525 deletions
|
|
@ -5,8 +5,8 @@
|
|||
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="3_f7qjl"]
|
||||
[ext_resource type="PackedScene" uid="uid://l84on3kv2s52" path="res://Scenes/Door_Horizontal.tscn" id="3_wtdf1"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0k2grrc8xp1l" path="res://Scenes/Props/BigTank.tscn" id="4_hgeju"]
|
||||
[ext_resource type="PackedScene" uid="uid://bc64lr3vlwchq" path="res://Scenes/Door_Vertical.tscn" id="4_qe4tn"]
|
||||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="4_wtdf1"]
|
||||
[ext_resource type="Script" uid="uid://ddry5kjj3fr6c" path="res://Scripts/Controllers/DoorMarker.cs" id="5_2djm0"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_f7qjl"]
|
||||
vertices = PackedVector2Array(186, 122, 186, 58, 294, 58, 294, 134, 166, 134, 134, 122, 166, 150, 154, 150, 154, 134, 26, 134, 26, 58, 134, 58, 166, 54, 154, 54, 154, 10, 166, 10)
|
||||
|
|
@ -23,6 +23,7 @@ process_mode = 1
|
|||
script = ExtResource("1_cak6m")
|
||||
RoomResource = ExtResource("2_cak6m")
|
||||
DoorPrefab = ExtResource("3_wtdf1")
|
||||
VerticalDoorPrefab = ExtResource("4_qe4tn")
|
||||
WallPrefab = ExtResource("4_hgeju")
|
||||
metadata/test_scene = "res://Scenes/Maps/Roguelike.tscn"
|
||||
|
||||
|
|
@ -62,27 +63,6 @@ position = Vector2(233, 63)
|
|||
[node name="RogueliteEnemySpawner3" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(266, 122)
|
||||
|
||||
[node name="Doors" type="Node2D" parent="."]
|
||||
|
||||
[node name="North" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(159, 23)
|
||||
script = ExtResource("5_2djm0")
|
||||
|
||||
[node name="South" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(159, 161)
|
||||
script = ExtResource("5_2djm0")
|
||||
Direction = 1
|
||||
|
||||
[node name="East" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(312, 87)
|
||||
script = ExtResource("5_2djm0")
|
||||
Direction = 2
|
||||
|
||||
[node name="West" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(8.1806, 87.7693)
|
||||
script = ExtResource("5_2djm0")
|
||||
Direction = 3
|
||||
|
||||
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
|
||||
navigation_polygon = SubResource("NavigationPolygon_f7qjl")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue