mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-02 03:51:17 +00:00
Automatic doors
This commit is contained in:
parent
c3107fbce9
commit
3fc39f63c4
29 changed files with 401 additions and 525 deletions
|
|
@ -3,10 +3,10 @@
|
|||
[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_0pyb7"]
|
||||
[ext_resource type="Resource" uid="uid://cb7gk278lmicd" path="res://Resources/RogueliteMaps/Lab2x1_1.tres" id="2_0pyb7"]
|
||||
[ext_resource type="PackedScene" uid="uid://l84on3kv2s52" path="res://Scenes/Door_Horizontal.tscn" id="3_8uhw6"]
|
||||
[ext_resource type="PackedScene" uid="uid://bc64lr3vlwchq" path="res://Scenes/Door_Vertical.tscn" id="4_0pyb7"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0k2grrc8xp1l" path="res://Scenes/Props/BigTank.tscn" id="4_gq82i"]
|
||||
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="5_xmtgx"]
|
||||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="6_k6m50"]
|
||||
[ext_resource type="Script" uid="uid://ddry5kjj3fr6c" path="res://Scripts/Controllers/DoorMarker.cs" id="7_a4eus"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_f7qjl"]
|
||||
vertices = PackedVector2Array(186, 122, 186, 58, 294, 58, 294, 74, 319.922, 74, 319.922, 58, 454, 58, 454, 122, 506, 122, 506, 58, 614, 58, 614, 134, 486, 134, 486, 150, 474, 150, 474, 134, 166, 134, 134, 122, 154, 134, 166, 150, 154, 150, 26, 134, 26, 58, 134, 58, 166, 54, 154, 54, 154, 10, 166, 10, 486, 54, 474, 54, 474, 10, 486, 10)
|
||||
|
|
@ -23,6 +23,7 @@ process_mode = 1
|
|||
script = ExtResource("1_0pyb7")
|
||||
RoomResource = ExtResource("2_0pyb7")
|
||||
DoorPrefab = ExtResource("3_8uhw6")
|
||||
VerticalDoorPrefab = ExtResource("4_0pyb7")
|
||||
WallPrefab = ExtResource("4_gq82i")
|
||||
metadata/test_scene = "res://Scenes/Maps/Roguelike.tscn"
|
||||
|
||||
|
|
@ -62,38 +63,6 @@ position = Vector2(306, 115)
|
|||
[node name="RogueliteEnemySpawner3" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(571, 91)
|
||||
|
||||
[node name="Doors" type="Node2D" parent="."]
|
||||
|
||||
[node name="North" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(159, 23)
|
||||
script = ExtResource("7_a4eus")
|
||||
|
||||
[node name="North2" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(479.755, 23.6396)
|
||||
script = ExtResource("7_a4eus")
|
||||
WallIndex = 1
|
||||
|
||||
[node name="South" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(159, 161)
|
||||
script = ExtResource("7_a4eus")
|
||||
Direction = 1
|
||||
|
||||
[node name="South2" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(479.365, 161.023)
|
||||
script = ExtResource("7_a4eus")
|
||||
Direction = 1
|
||||
WallIndex = 1
|
||||
|
||||
[node name="East" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(632, 86)
|
||||
script = ExtResource("7_a4eus")
|
||||
Direction = 2
|
||||
|
||||
[node name="West" type="Marker2D" parent="Doors"]
|
||||
position = Vector2(8.1806, 87.7693)
|
||||
script = ExtResource("7_a4eus")
|
||||
Direction = 3
|
||||
|
||||
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
|
||||
visible = false
|
||||
navigation_polygon = SubResource("NavigationPolygon_f7qjl")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue