summaryrefslogtreecommitdiff
path: root/scenes/game_over.tscn
blob: 872f48f07370cec583385aa700e98befc8fb6364 (plain)
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
[gd_scene load_steps=5 format=2]

[ext_resource path="res://textures/texts/game_over.png" type="Texture" id=1]
[ext_resource path="res://scenes/game_over.gd" type="Script" id=2]
[ext_resource path="res://textures/backgrounds/background_grey.png" type="Texture" id=3]

[sub_resource type="Animation" id=1]
resource_name = "fly"
length = 3.048
tracks/0/type = "bezier"
tracks/0/path = NodePath("Sprite:position:y")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"points": PoolRealArray( 61.907, -0.25, 0, 0.47, 446.97, -924.456, -0.52, -186.363, 0.25, 0 ),
"times": PoolRealArray( 2, 3 )
}

[node name="Node2D" type="Node2D"]
position = Vector2( 403.175, 267.103 )
script = ExtResource( 2 )

[node name="Sprite2" type="Sprite" parent="."]
position = Vector2( 194.362, 97.3519 )
texture = ExtResource( 3 )

[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 225.766, 47.1245 )
scale = Vector2( 1.2, 1.2 )
texture = ExtResource( 1 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "fly"
anims/fly = SubResource( 1 )
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]