[gd_scene load_steps=7 format=3 uid="uid://bk7ff5g2pk0cp"] [ext_resource type="Script" uid="uid://xnlyw4tf65bk" path="res://map/objects/ledge.gd" id="1_nwiaq"] [ext_resource type="Texture2D" uid="uid://dv8lud5b0tu3h" path="res://map/assets/tileset.png" id="1_wrxto"] [sub_resource type="AtlasTexture" id="AtlasTexture_nwiaq"] atlas = ExtResource("1_wrxto") region = Rect2(0, 16, 16, 16) [sub_resource type="RectangleShape2D" id="RectangleShape2D_jlg2s"] size = Vector2(16, 1.75) [sub_resource type="RectangleShape2D" id="RectangleShape2D_nc3l7"] size = Vector2(16, 0.5) [sub_resource type="RectangleShape2D" id="RectangleShape2D_nwiaq"] size = Vector2(1.125, 8) [node name="Ledge" type="Area2D"] collision_layer = 0 script = ExtResource("1_nwiaq") [node name="Sprite2D" type="Sprite2D" parent="."] position = Vector2(0, -2) texture = SubResource("AtlasTexture_nwiaq") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, 0.875) shape = SubResource("RectangleShape2D_jlg2s") [node name="StaticBody2D" type="StaticBody2D" parent="."] collision_layer = 2 collision_mask = 0 [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2(0, 7.75) shape = SubResource("RectangleShape2D_nc3l7") [node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2(-8, 4) shape = SubResource("RectangleShape2D_nwiaq") [node name="CollisionShape2D3" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2(8, 4) shape = SubResource("RectangleShape2D_nwiaq") [connection signal="body_entered" from="." to="." method="_on_body_entered"]