You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1000 B
24 lines
1000 B
[gd_scene load_steps=3 format=3 uid="uid://pflu0uaig7vv"]
|
|
|
|
[ext_resource type="Script" uid="uid://ccc6m6c5khd2x" path="res://scripts/CSharp/Common/CharacterControls/DetectionCross.cs" id="1_va8tx"]
|
|
[ext_resource type="PackedScene" uid="uid://dugr6ff1g7hi0" path="res://prefabs/interactions/detector.tscn" id="2_8hh05"]
|
|
|
|
[node name="DetectionCross" type="Node2D" node_paths=PackedStringArray("_left", "_right", "_up", "_down")]
|
|
script = ExtResource("1_va8tx")
|
|
_left = NodePath("detector_left")
|
|
_right = NodePath("detector_right")
|
|
_up = NodePath("detector_top")
|
|
_down = NodePath("detector_bottom")
|
|
|
|
[node name="detector_right" parent="." instance=ExtResource("2_8hh05")]
|
|
position = Vector2(300, 250)
|
|
|
|
[node name="detector_left" parent="." instance=ExtResource("2_8hh05")]
|
|
position = Vector2(-300, 250)
|
|
|
|
[node name="detector_top" parent="." instance=ExtResource("2_8hh05")]
|
|
position = Vector2(0, -200)
|
|
|
|
[node name="detector_bottom" parent="." instance=ExtResource("2_8hh05")]
|
|
position = Vector2(0, 700)
|