-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCircle.tscn
59 lines (50 loc) · 2.52 KB
/
Circle.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
48
49
50
51
52
53
54
55
56
57
58
59
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Circle.gd" type="Script" id=1]
[sub_resource type="CircleShape2D" id=3]
radius = 50.0
[sub_resource type="Animation" id=2]
resource_name = "Pop"
tracks/0/type = "value"
tracks/0/path = NodePath("Polygon2D:scale")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.2, 1 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ), Vector2( 1.5, 1.5 ), Vector2( 0, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Line2D:scale")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.2, 1 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ), Vector2( 1.5, 1.5 ), Vector2( 0, 0 ) ]
}
[node name="Circle" type="RigidBody2D"]
gravity_scale = 0.0
linear_damp = 2.0
angular_damp = 0.5
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 3 )
[node name="Polygon2D" type="Polygon2D" parent="."]
color = Color( 0.501961, 0.137255, 0.145098, 1 )
antialiased = true
polygon = PoolVector2Array( 50, 0, 48.2963, 12.941, 43.3013, 25, 35.3553, 35.3553, 25, 43.3013, 12.941, 48.2963, -2.18557e-06, 50, -12.941, 48.2963, -25, 43.3013, -35.3553, 35.3553, -43.3013, 25, -48.2963, 12.941, -50, -4.37114e-06, -48.2963, -12.941, -43.3013, -25, -35.3553, -35.3553, -25, -43.3013, -12.9409, -48.2963, 5.96244e-07, -50, 12.941, -48.2963, 25, -43.3013, 35.3553, -35.3553, 43.3013, -25, 48.2963, -12.9409 )
[node name="Line2D" type="Line2D" parent="."]
visible = false
points = PoolVector2Array( 50, 0, 48.2963, 12.941, 43.3013, 25, 35.3553, 35.3553, 25, 43.3013, 12.941, 48.2963, -2.18557e-06, 50, -12.941, 48.2963, -25, 43.3013, -35.3553, 35.3553, -43.3013, 25, -48.2963, 12.941, -50, -4.37114e-06, -48.2963, -12.941, -43.3013, -25, -35.3553, -35.3553, -25, -43.3013, -12.9409, -48.2963, 5.96244e-07, -50, 12.941, -48.2963, 25, -43.3013, 35.3553, -35.3553, 43.3013, -25, 48.2963, -12.9409, 50, 0, 48.2963, 12.941 )
default_color = Color( 0.156863, 0.156863, 0.176471, 1 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/Pop = SubResource( 2 )
[connection signal="input_event" from="." to="." method="_on_RigidBody2D_input_event"]
[connection signal="mouse_entered" from="." to="." method="_on_RigidBody2D_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_RigidBody2D_mouse_exited"]