blob: 8183fdef60a1c65a36f3b6ed6f6e1e55fb7306ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
[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"]
|