-
Notifications
You must be signed in to change notification settings - Fork 1
/
Background.tscn
49 lines (41 loc) · 1.29 KB
/
Background.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/images/spr_stars01.png" type="Texture" id=2]
[ext_resource path="res://Background.gd" type="Script" id=3]
[sub_resource type="Animation" id=1]
resource_name = "move"
length = 1.2
tracks/0/type = "value"
tracks/0/path = NodePath("ParallaxLayer/Sprite:material:shader_param/strength")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.3, 0.8, 1.2 ),
"transitions": PoolRealArray( 1, 0.784586, 0.784586, 1 ),
"update": 0,
"values": [ 0.0, 0.0676, 0.1013, 0.0 ]
}
[node name="Background" type="ParallaxBackground"]
layer = -1
script = ExtResource( 3 )
speed = 60
[node name="ColorRect" type="ColorRect" parent="."]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -3.80957
margin_right = -3.80957
mouse_filter = 2
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CPUParticles2D" type="CPUParticles2D" parent="."]
visible = false
[node name="ParallaxLayer" type="ParallaxLayer" parent="."]
motion_mirroring = Vector2( 2560, 2560 )
[node name="Sprite" type="Sprite" parent="ParallaxLayer"]
texture = ExtResource( 2 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/move = SubResource( 1 )