-
Notifications
You must be signed in to change notification settings - Fork 1
/
Result.tscn
70 lines (59 loc) · 1.88 KB
/
Result.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
69
70
[gd_scene load_steps=6 format=2]
[ext_resource path="res://planet.png" type="Texture" id=1]
[ext_resource path="res://satellite.png" type="Texture" id=2]
[ext_resource path="res://Changer.tscn" type="PackedScene" id=3]
[ext_resource path="res://Result.gd" type="Script" id=4]
[sub_resource type="Animation" id=1]
resource_name = "Rotate"
length = 2.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("satellite:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1, 2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 612, 400 ), Vector2( 412, 200 ), Vector2( 612, 400 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("satellite:z_index")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 1, 2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ 0, 2, 0 ]
}
[node name="Result" type="Node2D"]
script = ExtResource( 4 )
[node name="Node" type="Node" parent="."]
[node name="CanvasLayer" type="CanvasLayer" parent="Node"]
layer = -1
[node name="ColorRect" type="ColorRect" parent="Node/CanvasLayer"]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0.988235, 0.317647, 0.317647, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="satellite" type="Sprite" parent="."]
position = Vector2( 413.894, 201.894 )
scale = Vector2( 0.05, 0.05 )
texture = ExtResource( 2 )
[node name="planet" type="Sprite" parent="."]
position = Vector2( 512, 300 )
scale = Vector2( 0.05, 0.05 )
texture = ExtResource( 1 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "Rotate"
anims/Rotate = SubResource( 1 )
[node name="CanvasLayer" type="CanvasLayer" parent="."]
layer = 10
[node name="Changer" parent="CanvasLayer" instance=ExtResource( 3 )]