-
Notifications
You must be signed in to change notification settings - Fork 0
/
ball.tscn
34 lines (27 loc) · 932 Bytes
/
ball.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://icon.png" type="Texture" id=1]
[ext_resource path="res://ball.gd" type="Script" id=2]
[sub_resource type="PhysicsMaterial" id=2]
friction = 0.0
bounce = 1.0
[sub_resource type="CircleShape2D" id=3]
radius = 10.0924
[node name="ball" type="RigidBody2D"]
physics_material_override = SubResource( 2 )
gravity_scale = 0.0
contacts_reported = 1
contact_monitor = true
linear_damp = 0.0
angular_damp = 0.0
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( -0.00404549, 0.120785 )
scale = Vector2( 0.130144, 0.125747 )
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( -0.153133, 0.16123 )
shape = SubResource( 3 )
[node name="Timer" type="Timer" parent="."]
wait_time = 3.0
one_shot = true
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]