Files
Super-Mario-Bros.-Remastere…/Scenes/Parts/PipeArea.tscn
2025-10-01 21:48:17 +01:00

70 lines
2.5 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://dkgu57is78lro"]
[ext_resource type="Texture2D" uid="uid://c8yio3lpcsvqu" path="res://Assets/Sprites/UI/PipeArrow.png" id="1_5qh6k"]
[ext_resource type="Script" uid="uid://bqqbvhchdvhyv" path="res://Scripts/Classes/Entities/PipeArea.gd" id="1_w8y82"]
[ext_resource type="Script" uid="uid://ctfbuoxtnnl0q" path="res://Scripts/Classes/Components/EditorPropertyExposer.gd" id="3_0pvle"]
[ext_resource type="Texture2D" uid="uid://dlldh5aks0wff" path="res://Assets/Sprites/Editor/GhostTile.png" id="3_4vmio"]
[ext_resource type="PackedScene" uid="uid://dse5pwhodrqcr" path="res://Scenes/Prefabs/Editor/EditorProperties/TilePropertyIntRangeSpin.tscn" id="4_g36rp"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_lv0oh"]
size = Vector2(16, 16)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5qh6k"]
size = Vector2(4, 4)
[node name="PipeArea" type="Node2D" groups=["Pipes"]]
script = ExtResource("1_w8y82")
target_level = "uid://gbcmqonky63j"
[node name="Visual" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_lv0oh")
debug_color = Color(0, 0.6, 0, 0.419608)
[node name="Hitbox" type="Area2D" parent="."]
priority = -1
[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("1_5qh6k")
[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="."]
z_index = 50
z_as_relative = false
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="ColorRect" type="TextureRect" parent="Node2D"]
show_behind_parent = true
offset_left = -16.0
offset_top = -8.0
offset_bottom = 8.0
texture = ExtResource("3_4vmio")
[node name="EditorPropertyExposer" type="Node" parent="."]
script = ExtResource("3_0pvle")
properties = Array[String](["enter_direction", "pipe_id", "target_sub_level", "exit_only"])
properties_force_selector = Dictionary[String, PackedScene]({
"pipe_id": ExtResource("4_g36rp")
})