forked from drraccoon/GD-Polo
- The player has been decoupled from the world scene and made it's own separate scene that can now be instanced. - The parallax backgrounds that were apart of the player are also decoupled from the player and made independent each other. Despite these recent changes, the game continues to function as if it did before the decoupling.
30 lines
731 B
Text
30 lines
731 B
Text
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://Backgrounds/bkMountains.png" type="Texture" id=1]
|
|
|
|
[node name="Mountains" type="ParallaxBackground"]
|
|
|
|
[node name="ParallaxLayer" type="ParallaxLayer" parent="."]
|
|
scale = Vector2( 0.75, 0.75 )
|
|
motion_scale = Vector2( 0.09, 0.07 )
|
|
motion_offset = Vector2( 0, -90 )
|
|
motion_mirroring = Vector2( 240, 0 )
|
|
__meta__ = {
|
|
"_edit_group_": true,
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="bk_mountain" type="Sprite" parent="ParallaxLayer"]
|
|
texture = ExtResource( 1 )
|
|
centered = false
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="bk_mountain2" type="Sprite" parent="ParallaxLayer"]
|
|
texture = ExtResource( 1 )
|
|
centered = false
|
|
offset = Vector2( 240, 0 )
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|