[gd_scene load_steps=5 format=2] [ext_resource path="res://CameraLimit.gdns" type="Script" id=1] [ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=2] [ext_resource path="res://assets/backgrounds/snow.png" type="Texture" id=3] [ext_resource path="res://levels/Level3.tmx" type="PackedScene" id=4] [node name="Level2" type="Node2D"] [node name="Player" parent="." instance=ExtResource( 2 )] position = Vector2( 50, 516 ) __meta__ = { "_edit_group_": true } [node name="Camera2D" type="Camera2D" parent="Player"] current = true limit_left = 0 limit_top = 0 limit_right = 512 limit_bottom = 288 drag_margin_h_enabled = true drag_margin_v_enabled = 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, 0.2 ) motion_offset = Vector2( 0, -288 ) motion_mirroring = Vector2( 528, 0 ) [node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"] texture = ExtResource( 3 ) centered = false [node name="Map" type="Node2D" parent="."] [node name="Level3" parent="Map" instance=ExtResource( 4 )] script = ExtResource( 1 )