summaryrefslogtreecommitdiffstats
path: root/scenes/Ladder.tscn
blob: 310e5b4cd5a4aebb6fde838c134b6582592b11aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[gd_scene load_steps=4 format=2]

[ext_resource path="res://textures/ladder.tres" type="Texture" id=1]
[ext_resource path="res://scripts/Ladder.gd" type="Script" id=2]

[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 4, 2 )

[node name="Ladder" type="Area2D"]
position = Vector2( 80, 48 )
script = ExtResource( 2 )

[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
centered = false

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 4, 6 )
shape = SubResource( 1 )
[connection signal="body_entered" from="." to="." method="_on_Ladder_body_entered"]