mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-13 05:25:54 +00:00
Changed elevator to be child of path
This commit is contained in:
parent
27925b5303
commit
9bbc631dd3
11 changed files with 117 additions and 116 deletions
|
|
@ -16,6 +16,7 @@
|
|||
[ext_resource type="PackedScene" uid="uid://dkwi1hu1bixoe" path="res://Scenes/HUD/HUD.tscn" id="9_mnq21"]
|
||||
[ext_resource type="Script" uid="uid://bdshph801ac2i" path="res://Scenes/CameraTarget.gd" id="10_4nd4a"]
|
||||
[ext_resource type="Script" uid="uid://cnkipcolyj61w" path="res://Scripts/AlarmManager.cs" id="11_7an4p"]
|
||||
[ext_resource type="Script" uid="uid://b5fesrd4lv8t1" path="res://Scripts/Resources/Events/EventResource.cs" id="13_ehuec"]
|
||||
[ext_resource type="Script" uid="uid://bwox5lmgiijcs" path="res://Scripts/Resources/Events/ActivateEvent.cs" id="14_s23f3"]
|
||||
[ext_resource type="PackedScene" uid="uid://oi8svqsspcsj" path="res://Scenes/Interactable/ScriptableMovementSensor.tscn" id="16_ehuec"]
|
||||
[ext_resource type="PackedScene" uid="uid://crph24e6e0v0q" path="res://Scenes/Interactable/Control_Pad.tscn" id="16_s23f3"]
|
||||
|
|
@ -54,19 +55,13 @@ Targets = Array[NodePath]([NodePath("../WallEmitter"), NodePath("../WallEmitter2
|
|||
WaitForCompletion = true
|
||||
metadata/_custom_type_script = "uid://bwox5lmgiijcs"
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_hw1so"]
|
||||
_data = {
|
||||
"points": PackedVector2Array(0, 0, 0, 0, 0, -31, 0, 0, 0, 0, 0, 0)
|
||||
}
|
||||
point_count = 2
|
||||
|
||||
[node name="GameScene" type="Node2D"]
|
||||
script = ExtResource("1_t2k72")
|
||||
PlayerTemplate = ExtResource("2_2jsgm")
|
||||
SpawnMarkers = Dictionary[int, NodePath]({
|
||||
0: NodePath("PlayerStartPosition")
|
||||
})
|
||||
StartingEquipment = [ExtResource("3_mqt4u")]
|
||||
StartingEquipment = Array[ExtResource("3_6w05j")]([ExtResource("3_mqt4u")])
|
||||
MapStartData = SubResource("Resource_6wo78")
|
||||
|
||||
[node name="Tilemaps" type="Node2D" parent="."]
|
||||
|
|
@ -115,7 +110,7 @@ position = Vector2(196, 296)
|
|||
|
||||
[node name="MotionSensor" parent="Tilemaps/Actors" instance=ExtResource("16_ehuec")]
|
||||
position = Vector2(254, 296)
|
||||
Events = [SubResource("Resource_s23f3")]
|
||||
Events = Array[ExtResource("13_ehuec")]([SubResource("Resource_s23f3")])
|
||||
|
||||
[node name="ControlPad" parent="Tilemaps/Actors" node_paths=PackedStringArray("Targets") instance=ExtResource("16_s23f3")]
|
||||
position = Vector2(205, 292)
|
||||
|
|
@ -136,7 +131,7 @@ position = Vector2(504, 468)
|
|||
|
||||
[node name="MovementSensorLonger" parent="Tilemaps/Actors" instance=ExtResource("20_fdi4d")]
|
||||
position = Vector2(226, 486)
|
||||
Events = [SubResource("Resource_qi6uc")]
|
||||
Events = Array[ExtResource("13_ehuec")]([SubResource("Resource_qi6uc")])
|
||||
|
||||
[node name="WallEmitter" parent="Tilemaps/Actors" instance=ExtResource("21_qi6uc")]
|
||||
position = Vector2(264, 482)
|
||||
|
|
@ -148,13 +143,8 @@ position = Vector2(312, 482)
|
|||
BulletResource = ExtResource("22_uaqq6")
|
||||
EmitCoolDown = 0.5
|
||||
|
||||
[node name="Path2D" type="Path2D" parent="Tilemaps/Actors"]
|
||||
[node name="Elevator" parent="Tilemaps/Actors" instance=ExtResource("23_577wb")]
|
||||
position = Vector2(-64, 576)
|
||||
curve = SubResource("Curve2D_hw1so")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Elevator" parent="Tilemaps/Actors/Path2D" node_paths=PackedStringArray("ElevatorPath") instance=ExtResource("23_577wb")]
|
||||
ElevatorPath = NodePath("..")
|
||||
|
||||
[node name="AlarmBox" parent="Tilemaps/Actors" instance=ExtResource("23_uaqq6")]
|
||||
position = Vector2(-9, 516)
|
||||
|
|
@ -185,11 +175,13 @@ Direction = 0
|
|||
[node name="SpiderBomb" parent="Tilemaps/Actors" instance=ExtResource("27_577wb")]
|
||||
position = Vector2(132, 361)
|
||||
|
||||
[node name="ControlPad3" parent="Tilemaps/Actors" instance=ExtResource("16_s23f3")]
|
||||
[node name="ControlPad3" parent="Tilemaps/Actors" node_paths=PackedStringArray("Targets") instance=ExtResource("16_s23f3")]
|
||||
position = Vector2(-88, 517)
|
||||
Targets = [NodePath("../Elevator")]
|
||||
|
||||
[node name="ControlPad4" parent="Tilemaps/Actors" instance=ExtResource("16_s23f3")]
|
||||
[node name="ControlPad4" parent="Tilemaps/Actors" node_paths=PackedStringArray("Targets") instance=ExtResource("16_s23f3")]
|
||||
position = Vector2(-89, 548)
|
||||
Targets = [NodePath("../Elevator")]
|
||||
|
||||
[node name="CameraController" type="Camera2D" parent="."]
|
||||
script = ExtResource("7_lxkiw")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue