mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-21 11:03:54 +00:00
Elevators move players
This commit is contained in:
parent
8b378abef3
commit
2e0ad40f33
8 changed files with 156 additions and 93 deletions
|
|
@ -10,15 +10,18 @@
|
|||
[ext_resource type="Script" uid="uid://72sfdklqrc6d" path="res://Scripts/Components/FSM/Elevator/Descending.cs" id="8_flmvm"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_3lpp4"]
|
||||
size = Vector2(32, 32)
|
||||
size = Vector2(20, 19)
|
||||
|
||||
[node name="Elevator" type="Area2D"]
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
script = ExtResource("1_xv5vg")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_0xq5m")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -0.5)
|
||||
shape = SubResource("RectangleShape2D_3lpp4")
|
||||
|
||||
[node name="StateMachine" type="Node2D" parent="."]
|
||||
|
|
@ -40,3 +43,6 @@ script = ExtResource("7_r4wj7")
|
|||
script = ExtResource("8_flmvm")
|
||||
|
||||
[node name="Disabled" type="Node2D" parent="StateMachine"]
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||||
[connection signal="area_exited" from="." to="." method="_on_area_exited"]
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue