-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmain.tscn
70 lines (53 loc) · 2.1 KB
/
main.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
60
61
62
63
64
65
66
67
68
[gd_scene load_steps=5 format=1]
[ext_resource path="res://player.gd" type="Script" id=1]
[ext_resource path="res://spaceship.png" type="Texture" id=2]
[ext_resource path="res://asteroid.png" type="Texture" id=3]
[sub_resource type="Animation" id=1]
resource/name = "rotate"
length = 6.3
loop = true
step = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath(".:frame")
tracks/0/interp = 1
tracks/0/imported = false
tracks/0/keys = {
"times": FloatArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4, 4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 4.9, 5, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 5.9, 6, 6.1, 6.2 ),
"transitions": FloatArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 1,
"values": [ 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, 60, 61, 62, 63 ]
}
[node name="Root" type="Node"]
__meta__ = {
"__editor_plugin_screen__": "Script",
"_edit_lock_": true
}
[node name="Spaceship" type="Node2D" parent="."]
transform/pos = Vector2( 500, 400 )
z/z = 1
script/script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="Spaceship"]
texture = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true
}
[node name="Asteroid" type="Node2D" parent="."]
transform/pos = Vector2( 500, 300 )
[node name="Sprite" type="Sprite" parent="Asteroid"]
editor/display_folded = true
texture = ExtResource( 3 )
vframes = 8
hframes = 8
frame = 63
__meta__ = {
"_edit_lock_": true
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="Asteroid/Sprite"]
playback/process_mode = 1
playback/default_blend_time = 0.0
root/root = NodePath("..")
anims/rotate = SubResource( 1 )
playback/active = true
playback/speed = 1.0
blend_times = [ ]
autoplay = "rotate"