-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCandy.tscn
47 lines (40 loc) · 1.14 KB
/
Candy.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/candy.png" type="Texture" id=1]
[ext_resource path="res://Candy.gd" type="Script" id=2]
[sub_resource type="CapsuleShape2D" id=2]
radius = 17.8959
height = 33.4598
[node name="Candy" type="RigidBody2D" groups=["candy"]]
collision_mask = 0
gravity_scale = 0.0
script = ExtResource( 2 )
__meta__ = {
"_edit_group_": true
}
[node name="Sprite" type="Sprite" parent="."]
scale = Vector2( 0.15, 0.15 )
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 5, -5 )
rotation = 0.764454
shape = SubResource( 2 )
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
[node name="Explosion" type="CPUParticles2D" parent="."]
emitting = false
amount = 20
one_shot = true
explosiveness = 1.0
emission_shape = 1
emission_sphere_radius = 16.11
direction = Vector2( 0, 0 )
gravity = Vector2( 0, 0 )
initial_velocity = 40.0
radial_accel = 100.0
radial_accel_random = 0.44
damping = 15.97
damping_random = 1.0
angle = 45.0
angle_random = 1.0
scale_amount = 12.0
scale_amount_random = 1.0
color = Color( 0.564706, 0.423529, 0.772549, 1 )