-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBaguette.tscn
33 lines (25 loc) · 1.02 KB
/
Baguette.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=6 format=2]
[ext_resource path="res://baguette.png" type="Texture" id=1]
[ext_resource path="res://audio/EAT_Cookie_Chew_3_Times_mono.wav" type="AudioStream" id=2]
[ext_resource path="res://Item.gd" type="Script" id=3]
[sub_resource type="Animation" id=1]
resource_name = "pick"
step = 1.0
[sub_resource type="CircleShape2D" id=2]
radius = 43.1243
[node name="Baguette" type="Area2D"]
script = ExtResource( 3 )
__meta__ = {
"_edit_group_": true
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/pick = SubResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0.975342, 0 )
shape = SubResource( 2 )
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 2 )
[node name="baguette" type="Sprite" parent="."]
texture = ExtResource( 1 )
[connection signal="body_entered" from="." to="." method="_on_Item_body_entered"]
[connection signal="body_shape_entered" from="." to="." method="_on_Item_body_shape_entered"]