mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-04 05:31:16 +00:00
Automatic doors
This commit is contained in:
parent
c3107fbce9
commit
3fc39f63c4
29 changed files with 401 additions and 525 deletions
|
|
@ -4,9 +4,9 @@
|
|||
[ext_resource type="Resource" uid="uid://n6nb5yco60gi" path="res://Resources/RogueliteMaps/BigLarge.tres" id="2_u4oyu"]
|
||||
[ext_resource type="PackedScene" uid="uid://l84on3kv2s52" path="res://Scenes/Door_Horizontal.tscn" id="3_6wahx"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0k2grrc8xp1l" path="res://Scenes/Props/BigTank.tscn" id="4_3d7yv"]
|
||||
[ext_resource type="PackedScene" uid="uid://bc64lr3vlwchq" path="res://Scenes/Door_Vertical.tscn" id="4_u4oyu"]
|
||||
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="5_kigg1"]
|
||||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="6_tgkll"]
|
||||
[ext_resource type="Script" uid="uid://ddry5kjj3fr6c" path="res://Scripts/Controllers/DoorMarker.cs" id="7_67kci"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_rlq0q"]
|
||||
vertices = PackedVector2Array(474, 58, 474, 10, 486, 10, 486, 58, 794, 58, 794, 10, 806, 10, 806, 58, 934, 58, 934, 294, 806, 294, 794, 294, 806, 310, 794, 310, 486, 294, 474, 294, 486, 310, 474, 310, 166, 58, 166, 294, 166, 310, 154, 310, 154, 294, 154, 58, 26, 294, 26, 58, 166, 10, 154, 10)
|
||||
|
|
@ -23,6 +23,7 @@ process_mode = 1
|
|||
script = ExtResource("1_u4oyu")
|
||||
RoomResource = ExtResource("2_u4oyu")
|
||||
DoorPrefab = ExtResource("3_6wahx")
|
||||
VerticalDoorPrefab = ExtResource("4_u4oyu")
|
||||
WallPrefab = ExtResource("4_3d7yv")
|
||||
|
||||
[node name="Tilemaps" type="Node2D" parent="." groups=["navigation_polygon_source_geometry_group"]]
|
||||
|
|
@ -60,49 +61,6 @@ position = Vector2(88, 126)
|
|||
[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("7_67kci")
|
||||
|
||||
[node name="North2" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(479.257, 20.6745)
|
||||
script = ExtResource("7_67kci")
|
||||
WallIndex = 1
|
||||
|
||||
[node name="North3" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(794.686, 18.3888)
|
||||
script = ExtResource("7_67kci")
|
||||
WallIndex = 2
|
||||
|
||||
[node name="South" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(158, 319)
|
||||
script = ExtResource("7_67kci")
|
||||
Direction = 1
|
||||
|
||||
[node name="South2" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(477, 319)
|
||||
script = ExtResource("7_67kci")
|
||||
Direction = 1
|
||||
WallIndex = 1
|
||||
|
||||
[node name="South3" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(800, 317)
|
||||
script = ExtResource("7_67kci")
|
||||
Direction = 1
|
||||
WallIndex = 2
|
||||
|
||||
[node name="East" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(951, 88)
|
||||
script = ExtResource("7_67kci")
|
||||
Direction = 2
|
||||
|
||||
[node name="West" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(8.1806, 87.7693)
|
||||
script = ExtResource("7_67kci")
|
||||
Direction = 3
|
||||
|
||||
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
|
||||
visible = false
|
||||
navigation_polygon = SubResource("NavigationPolygon_rlq0q")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue