2022-04-05 14:51:59 -04:00
|
|
|
[gd_scene load_steps=4 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://assets/backgrounds/mountains.png" type="Texture" id=1]
|
|
|
|
[ext_resource path="res://levels/level01.tmx" type="PackedScene" id=3]
|
|
|
|
[ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=4]
|
|
|
|
|
2022-04-06 23:09:30 -04:00
|
|
|
[node name="Level1" type="Node2D"]
|
2022-04-05 14:51:59 -04:00
|
|
|
|
|
|
|
[node name="Player" parent="." instance=ExtResource( 4 )]
|
|
|
|
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="Player"]
|
|
|
|
current = true
|
|
|
|
limit_left = 0
|
|
|
|
limit_top = 0
|
|
|
|
limit_right = 2304
|
|
|
|
limit_bottom = 576
|
|
|
|
drag_margin_h_enabled = true
|
|
|
|
drag_margin_v_enabled = true
|
|
|
|
editor_draw_limits = true
|
|
|
|
editor_draw_drag_margin = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_bone_": true
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="Player/Camera2D"]
|
|
|
|
rect = Rect2( 0, 0, 24, 24 )
|
|
|
|
|
|
|
|
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
|
|
|
|
|
|
|
|
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
|
|
|
|
motion_scale = Vector2( 0.2, 1 )
|
|
|
|
motion_mirroring = Vector2( 528, 0 )
|
|
|
|
|
|
|
|
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
|
|
|
|
texture = ExtResource( 1 )
|
|
|
|
centered = false
|
|
|
|
|
|
|
|
[node name="Map" type="Node2D" parent="."]
|
|
|
|
position = Vector2( 0, 18 )
|
|
|
|
|
|
|
|
[node name="level01" parent="Map" instance=ExtResource( 3 )]
|