-
Notifications
You must be signed in to change notification settings - Fork 1
/
wall.tscn
34 lines (25 loc) · 966 Bytes
/
wall.tscn
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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://scripts/wall.gd" type="Script" id=1]
[sub_resource type="RectangleShape2D" id=1]
resource_local_to_scene = true
extents = Vector2( 15, 6 )
[sub_resource type="RectangleShape2D" id=2]
resource_local_to_scene = true
extents = Vector2( 15.534, 6.79612 )
[node name="Wall" type="StaticBody2D"]
script = ExtResource( 1 )
__meta__ = {
"_edit_group_": true
}
[node name="Polygon2D" type="Polygon2D" parent="."]
color = Color( 0.113725, 0.105882, 0.105882, 1 )
polygon = PoolVector2Array( -16, -7, 16, -7, 16, 7, -16, 7 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
shape = SubResource( 1 )
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
visible = false
scale = Vector2( 1.03, 1.03 )
shape = SubResource( 2 )
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]