godot-mota/src/stairs/StairsDown.tscn

23 lines
758 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/images/terrains.png" type="Texture" id=1]
[ext_resource path="res://src/stairs/Stairs.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=1]
[node name="Stairs" type="Position2D"]
script = ExtResource( 2 )
stairs_type = 1
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
region_enabled = true
region_rect = Rect2( 0, 640, 32, 32 )
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 1 )
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
[connection signal="body_exited" from="Area2D" to="." method="_on_Area2D_body_exited"]