[gd_scene load_steps=4 format=2]

[ext_resource path="res://sprites/objects/transition/transition_right.png" type="Texture" id=1]
[ext_resource path="res://objects/objects/transition/RoomTransition.gd" type="Script" id=2]

[sub_resource type="RectangleShape2D" id=1]

[node name="RoomTransition" type="Node2D" groups=[
"transition",
]]
light_mask = 2
script = ExtResource( 2 )

[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
centered = false
flip_h = true
region_enabled = true
region_rect = Rect2( 0, 0, 24, 100 )

[node name="RayCast2D" type="RayCast2D" parent="."]
enabled = true
cast_to = Vector2( 0, 100 )

[node name="End" type="Position2D" parent="."]
position = Vector2( 0, 100 )

[node name="Area2D" type="Area2D" parent="."]
position = Vector2( 12, 12 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 1 )
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
