20 lines
678 B
Plaintext
20 lines
678 B
Plaintext
|
[gd_scene load_steps=3 format=3 uid="uid://dhnuuq6nyb06p"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://45fgpfmo6jpm" path="res://sheet1.png" id="1_1hbxe"]
|
||
|
[ext_resource type="Script" path="res://ladder.gd" id="1_1t8bt"]
|
||
|
|
||
|
[node name="ladder" type="CharacterBody2D"]
|
||
|
script = ExtResource("1_1t8bt")
|
||
|
|
||
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||
|
position = Vector2(-6, -23)
|
||
|
texture = ExtResource("1_1hbxe")
|
||
|
centered = false
|
||
|
region_enabled = true
|
||
|
region_rect = Rect2(240, 258, 12, 46)
|
||
|
|
||
|
[node name="ladder" type="Area2D" parent="."]
|
||
|
|
||
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="ladder"]
|
||
|
polygon = PackedVector2Array(-6, -22, -6, -15, -6, 22, 6, 22, 6, -22)
|