PoloTins/world_scenes/Stars.tscn
Anthony Foxclaw 6ce7d58163 Decoupled player and background scenes
- 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.
2020-06-26 18:28:15 -04:00

42 lines
1,008 B
Text

[gd_scene load_steps=2 format=2]
[ext_resource path="res://Backgrounds/bk_clouds.png" type="Texture" id=1]
[node name="Stars" type="ParallaxBackground"]
[node name="ColorRect" type="ColorRect" parent="."]
margin_left = -58.2606
margin_top = -48.236
margin_right = 1861.74
margin_bottom = 503.764
color = Color( 0.137255, 0.152941, 0.262745, 1 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="ParallaxLayer" type="ParallaxLayer" parent="."]
scale = Vector2( 0.5, 0.5 )
motion_scale = Vector2( 0.02, 0.01 )
motion_offset = Vector2( 200, -100 )
motion_mirroring = Vector2( 480, 0 )
__meta__ = {
"_edit_group_": true,
"_edit_lock_": true
}
[node name="bk_clouds" type="Sprite" parent="ParallaxLayer"]
texture = ExtResource( 1 )
centered = false
offset = Vector2( 0, -16 )
__meta__ = {
"_edit_lock_": true
}
[node name="bk_clouds2" type="Sprite" parent="ParallaxLayer"]
texture = ExtResource( 1 )
centered = false
offset = Vector2( 240, -16 )
__meta__ = {
"_edit_lock_": true
}