Floppy_Bort/scenes/pipe/pipe.tscn
megamichi 1bae9f78bd init
2025-02-11 19:47:33 +01:00

34 lines
1.2 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://bo8pkjaj4tu44"]
[ext_resource type="Script" path="res://scenes/pipe/pipe.gd" id="1_o5eem"]
[ext_resource type="Texture2D" uid="uid://bmcn41xuywnm5" path="res://assets/images/pipe.png" id="2_m6yfy"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6btt8"]
size = Vector2(8, 200)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_gncap"]
size = Vector2(10, 6)
[node name="pipe" type="AnimatableBody2D"]
script = ExtResource("1_o5eem")
[node name="sprite" type="Sprite2D" parent="."]
position = Vector2(0, 412)
scale = Vector2(4, 4)
texture = ExtResource("2_m6yfy")
[node name="col1" type="CollisionShape2D" parent="."]
position = Vector2(0, 424)
scale = Vector2(4, 4)
shape = SubResource("RectangleShape2D_6btt8")
[node name="col2" type="CollisionShape2D" parent="."]
position = Vector2(0, 12)
scale = Vector2(4, 4)
shape = SubResource("RectangleShape2D_gncap")
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
position = Vector2(-1.90735e-06, 414)
scale = Vector2(2.4, 41.4)
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]