-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathDrop.tscn
More file actions
54 lines (40 loc) · 1.05 KB
/
Drop.tscn
File metadata and controls
54 lines (40 loc) · 1.05 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Drop.gd" type="Script" id=1]
[ext_resource path="res://art/star_gold.png" type="Texture" id=2]
[sub_resource type="CircleShape2D" id=1]
custom_solver_bias = 0.0
radius = 13.7429
[node name="Drop" type="RigidBody2D" groups=[
"drops",
]]
input_pickable = false
collision_layer = 2
collision_mask = 0
mode = 0
mass = 1.0
friction = 1.0
bounce = 0.0
gravity_scale = 1.0
custom_integrator = false
continuous_cd = 0
contacts_reported = 0
contact_monitor = false
sleeping = false
can_sleep = true
linear_velocity = Vector2( 0, 0 )
linear_damp = -1.0
angular_velocity = 0.0
angular_damp = -1.0
script = ExtResource( 1 )
speed = 75
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
shape = SubResource( 1 )
[node name="Lifetime" type="Timer" parent="."]
process_mode = 1
wait_time = 5.0
one_shot = false
autostart = true
[connection signal="timeout" from="Lifetime" to="." method="_on_Lifetime_timeout"]