-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPartPickup.tscn
30 lines (24 loc) · 959 Bytes
/
PartPickup.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://gfx/repair1.png" type="Texture" id=1]
[ext_resource path="res://PartPickup.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 7.04988, 7.13743 )
[node name="PartPickup" type="Area2D"]
position = Vector2( 335.923, 49.7897 )
scale = Vector2( 2, 2 )
collision_layer = 16
collision_mask = 17
script = ExtResource( 2 )
__meta__ = {
"_edit_group_": true
}
noise_persistence = 1.0
jiggleStrength = 2.0
jiggleDelay = 0.2
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
[connection signal="area_entered" from="." to="." method="_on_PartPickup_area_entered"]
[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]