-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathParallaxBackground.tscn
41 lines (33 loc) · 1.38 KB
/
ParallaxBackground.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://warped city files/ENVIRONMENT/background/skyline-b.png" type="Texture" id=1]
[ext_resource path="res://warped city files/ENVIRONMENT/background/buildings-bg.png" type="Texture" id=2]
[ext_resource path="res://warped city files/ENVIRONMENT/background/near-buildings-bg.png" type="Texture" id=3]
[node name="ParallaxBackground" type="ParallaxBackground"]
[node name="ParallaxLayer" type="ParallaxLayer" parent="."]
position = Vector2( 1.29233, 64.6178 )
motion_scale = Vector2( 0.05, 0.01 )
motion_offset = Vector2( 0, -220 )
__meta__ = {
"_edit_group_": true
}
[node name="Sprite" type="Sprite" parent="ParallaxLayer"]
scale = Vector2( 4, 4 )
texture = ExtResource( 1 )
region_enabled = true
region_rect = Rect2( 0, 0, 2000, 240 )
[node name="ParallaxLayer2" type="ParallaxLayer" parent="."]
position = Vector2( 1.29233, 63.6178 )
motion_scale = Vector2( 0.1, 0.02 )
[node name="Sprite" type="Sprite" parent="ParallaxLayer2"]
scale = Vector2( 2, 2 )
texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 1000, 124 )
[node name="ParallaxLayer3" type="ParallaxLayer" parent="."]
position = Vector2( 2.29233, 62.6178 )
motion_scale = Vector2( 0.12, 0.03 )
[node name="Sprite" type="Sprite" parent="ParallaxLayer3"]
scale = Vector2( 2, 2 )
texture = ExtResource( 3 )
region_enabled = true
region_rect = Rect2( 0, 0, 1000, 209 )