-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBead.tscn
42 lines (33 loc) · 1.08 KB
/
Bead.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
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Bead.gd" type="Script" id=1]
[ext_resource path="res://white_bead.png" type="Texture" id=2]
[node name="Bead" type="RigidBody2D"]
input_pickable = true
collision_layer = 1
collision_mask = 1
mode = 1
mass = 0.01
friction = 0.0
bounce = 0.0
gravity_scale = 0.0
custom_integrator = false
continuous_cd = 0
contacts_reported = 1
contact_monitor = true
sleeping = false
can_sleep = true
linear_velocity = Vector2( 0, 0 )
linear_damp = 0.0
angular_velocity = 0.0
angular_damp = 1.0
script = ExtResource( 1 )
_sections_unfolded = [ "Angular" ]
FULL_RADIUS = 20.0
COLOR = null
COLOR_CHOICES = PoolColorArray( 0, 0.427451, 1, 1, 1, 0.00784314, 0.333333, 1, 0.568627, 0.00784314, 1, 1, 0, 1, 0.0745098, 1, 0.945098, 0.945098, 0.94902, 1 )
[node name="HitBox" type="CollisionShape2D" parent="."]
[node name="Sprite" type="Sprite" parent="."]
scale = Vector2( 0.45, 0.45 )
texture = ExtResource( 2 )
_sections_unfolded = [ "Material", "Transform", "Visibility" ]
[connection signal="body_entered" from="." to="." method="_on_Bead_body_entered"]