[gd_scene load_steps=5 format=3 uid="uid://c6t324yc5gx7p"]

[ext_resource type="Script" uid="uid://cp4040k6fqwow" path="res://Scripts/Classes/Entities/TeleportPipeArea.gd" id="1_40l7q"]
[ext_resource type="Texture2D" uid="uid://c8yio3lpcsvqu" path="res://Assets/Sprites/UI/PipeArrow.png" id="2_fkbuh"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_lv0oh"]
size = Vector2(16, 16)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_5qh6k"]
size = Vector2(4, 4)

[node name="TeleportPipeArea" type="Node2D" groups=["Pipes"]]
script = ExtResource("1_40l7q")

[node name="Visual" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_lv0oh")
debug_color = Color(0, 0.6, 1, 0.419608)

[node name="Hitbox" type="Area2D" parent="."]
visible = false

[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
shape = SubResource("RectangleShape2D_5qh6k")

[node name="ArrowJoint" type="Node2D" parent="."]

[node name="Arrow" type="Sprite2D" parent="ArrowJoint"]
position = Vector2(0, -8)
texture = ExtResource("2_fkbuh")

[node name="RemoteTransform2D" type="RemoteTransform2D" parent="ArrowJoint"]
position = Vector2(0, 8)
remote_path = NodePath("../../Node2D")
update_rotation = false
update_scale = false

[node name="TargetPoint" type="Node2D" parent="ArrowJoint"]
position = Vector2(0, 32)

[node name="Node2D" type="Node2D" parent="."]
position = Vector2(-3.496911e-07, 8)

[node name="CenterContainer" type="CenterContainer" parent="Node2D"]
use_top_left = true

[node name="Label" type="Label" parent="Node2D/CenterContainer"]
layout_mode = 2
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
text = "0"

[node name="CanvasLayer" type="CanvasLayer" parent="."]
layer = 2147483647
visible = false

[node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 1)
