mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-03 08:41:17 +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://cjtcksew0qy6d" path="res://Resources/RogueliteMaps/TestRGMapLarge.tres" id="2_5bd7y"]
|
||||
[ext_resource type="PackedScene" uid="uid://l84on3kv2s52" path="res://Scenes/Door_Horizontal.tscn" id="3_4pnhf"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0k2grrc8xp1l" path="res://Scenes/Props/BigTank.tscn" id="4_1w61p"]
|
||||
[ext_resource type="PackedScene" uid="uid://bc64lr3vlwchq" path="res://Scenes/Door_Vertical.tscn" id="4_5bd7y"]
|
||||
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="5_2mndj"]
|
||||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="6_1dlui"]
|
||||
[ext_resource type="Script" uid="uid://ddry5kjj3fr6c" path="res://Scripts/Controllers/DoorMarker.cs" id="7_d57gj"]
|
||||
|
||||
[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, 134, 806, 134, 794, 134, 806, 150, 794, 150, 486, 134, 474, 134, 486, 150, 474, 150, 166, 58, 166, 134, 166, 150, 154, 150, 154, 134, 154, 58, 26, 134, 26, 58, 166, 10, 154, 10)
|
||||
|
|
@ -23,6 +23,7 @@ process_mode = 1
|
|||
script = ExtResource("1_5bd7y")
|
||||
RoomResource = ExtResource("2_5bd7y")
|
||||
DoorPrefab = ExtResource("3_4pnhf")
|
||||
VerticalDoorPrefab = ExtResource("4_5bd7y")
|
||||
WallPrefab = ExtResource("4_1w61p")
|
||||
|
||||
[node name="Tilemaps" type="Node2D" parent="." groups=["navigation_polygon_source_geometry_group"]]
|
||||
|
|
@ -55,53 +56,10 @@ metadata/_edit_lock_ = true
|
|||
position = Vector2(57, 67)
|
||||
|
||||
[node name="RogueliteEnemySpawner2" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(88, 126)
|
||||
position = Vector2(373, 75)
|
||||
|
||||
[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_d57gj")
|
||||
|
||||
[node name="North2" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(479.257, 20.6745)
|
||||
script = ExtResource("7_d57gj")
|
||||
WallIndex = 1
|
||||
|
||||
[node name="North3" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(794.686, 18.3888)
|
||||
script = ExtResource("7_d57gj")
|
||||
WallIndex = 2
|
||||
|
||||
[node name="South" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(159.196, 149.348)
|
||||
script = ExtResource("7_d57gj")
|
||||
Direction = 1
|
||||
|
||||
[node name="South2" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(479.86, 149.81)
|
||||
script = ExtResource("7_d57gj")
|
||||
Direction = 1
|
||||
WallIndex = 1
|
||||
|
||||
[node name="South3" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(798.847, 148.522)
|
||||
script = ExtResource("7_d57gj")
|
||||
Direction = 1
|
||||
WallIndex = 2
|
||||
|
||||
[node name="East" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(953, 91)
|
||||
script = ExtResource("7_d57gj")
|
||||
Direction = 2
|
||||
|
||||
[node name="West" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(8.1806, 87.7693)
|
||||
script = ExtResource("7_d57gj")
|
||||
Direction = 3
|
||||
position = Vector2(739, 101)
|
||||
|
||||
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
|
||||
visible = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue