34 lines
966 B
Plaintext
34 lines
966 B
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://ball/ball.svg" type="Texture" id=1]
|
|
[ext_resource path="res://ball/ball.gd" type="Script" id=2]
|
|
[ext_resource path="res://ball/plop.ogg" type="AudioStream" id=3]
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
radius = 8.00026
|
|
|
|
[node name="Ball" type="KinematicBody2D"]
|
|
position = Vector2( 0, -0.0648193 )
|
|
collision_layer = 2
|
|
collision_mask = 13
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
speed = 500
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
|
|
rect = Rect2( -8, -8, 16, 16 )
|
|
|
|
[node name="Plop" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource( 3 )
|
|
volume_db = -12.0
|
|
|
|
[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]
|