-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdropped_item.tscn
28 lines (20 loc) · 1.01 KB
/
dropped_item.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
[gd_scene load_steps=5 format=3 uid="uid://d3bge7tsyevv"]
[ext_resource type="Script" path="res://dropped_item.gd" id="1_d1w1y"]
[ext_resource type="Texture2D" uid="uid://vrg6wpy7vowi" path="res://resources/sprites/ant_dead.png" id="2_cyv1v"]
[ext_resource type="AudioStream" uid="uid://di6krg33nj18o" path="res://resources/sounds/sfx_deathscream_alien6.wav" id="3_jukb0"]
[sub_resource type="CircleShape2D" id="CircleShape2D_d3n7u"]
radius = 6.0
[node name="DroppedItem" type="Node2D"]
script = ExtResource("1_d1w1y")
[node name="Area2D" type="Area2D" parent="."]
collision_layer = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_d3n7u")
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.1, 0.1)
texture = ExtResource("2_cyv1v")
[node name="DeathSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_jukb0")
volume_db = -15.0
pitch_scale = 2.0
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]