-
Notifications
You must be signed in to change notification settings - Fork 0
/
obstacles_bottom.tscn
33 lines (27 loc) · 1.02 KB
/
obstacles_bottom.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://src/obstacles_bottom.gd" type="Script" id=1]
[ext_resource path="res://sprites/images/obstacle_top.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 12.733, 79.8575 )
[node name="Area2D" type="Area2D"]
show_behind_parent = true
position = Vector2( 140, 152.757 )
script = ExtResource( 1 )
__meta__ = {
"_edit_group_": true
}
obstacle_speed = 1.0
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )
centered = false
__meta__ = {
"_edit_group_": true
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 13, 80 )
shape = SubResource( 1 )
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
position = Vector2( 13.775, 80.6456 )
scale = Vector2( 1.3325, 8.07153 )
[connection signal="body_entered" from="." to="." method="_on_Area2D_body_entered"]
[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]