diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-02-08 15:04:31 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-02-08 15:04:31 +0100 |
commit | 8224cb660460f6af7b6cae8b7882bd036bab46ea (patch) | |
tree | 421d92d4de9e1654d4d7a63cd2296b70f85b51ba /Levels | |
parent | f4c0645b74e85607e18c58f77cc7bbd1a4931123 (diff) |
Adjusts Level Cameras
Diffstat (limited to 'Levels')
-rw-r--r-- | Levels/Level_0002.tscn | 40 | ||||
-rw-r--r-- | Levels/Level_0003.tscn | 8 |
2 files changed, 24 insertions, 24 deletions
diff --git a/Levels/Level_0002.tscn b/Levels/Level_0002.tscn index b74847c..3309bfb 100644 --- a/Levels/Level_0002.tscn +++ b/Levels/Level_0002.tscn @@ -25,25 +25,25 @@ points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) [sub_resource type="ConvexPolygonShape2D" id=3] points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) -[sub_resource type="ConvexPolygonShape2D" id=5] +[sub_resource type="ConvexPolygonShape2D" id=4] points = PoolVector2Array( 128, 96, 0, 32, 0, 0, 128, 0 ) -[sub_resource type="ConvexPolygonShape2D" id=6] +[sub_resource type="ConvexPolygonShape2D" id=5] points = PoolVector2Array( 128, 96, 0, 96, 0, 0, 128, 0 ) -[sub_resource type="ConvexPolygonShape2D" id=7] +[sub_resource type="ConvexPolygonShape2D" id=6] points = PoolVector2Array( 128, 32, 0, 96, 0, 0, 128, 0 ) -[sub_resource type="ConvexPolygonShape2D" id=8] +[sub_resource type="ConvexPolygonShape2D" id=7] points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) -[sub_resource type="ConvexPolygonShape2D" id=9] +[sub_resource type="ConvexPolygonShape2D" id=8] points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) -[sub_resource type="ConvexPolygonShape2D" id=10] +[sub_resource type="ConvexPolygonShape2D" id=9] points = PoolVector2Array( 512, 192, 0, 192, 96, 64, 384, 0 ) -[sub_resource type="TileSet" id=4] +[sub_resource type="TileSet" id=10] 0/name = "1.png 0" 0/texture = ExtResource( 1 ) 0/tex_offset = Vector2( 0, 0 ) @@ -117,14 +117,14 @@ points = PoolVector2Array( 512, 192, 0, 192, 96, 64, 384, 0 ) 3/navigation_offset = Vector2( 0, 0 ) 3/shape_offset = Vector2( 0, 0 ) 3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -3/shape = SubResource( 5 ) +3/shape = SubResource( 4 ) 3/shape_one_way = false 3/shape_one_way_margin = 1.0 3/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 5 ), +"shape": SubResource( 4 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) } ] 3/z_index = 0 @@ -138,14 +138,14 @@ points = PoolVector2Array( 512, 192, 0, 192, 96, 64, 384, 0 ) 4/navigation_offset = Vector2( 0, 0 ) 4/shape_offset = Vector2( 0, 0 ) 4/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -4/shape = SubResource( 6 ) +4/shape = SubResource( 5 ) 4/shape_one_way = false 4/shape_one_way_margin = 1.0 4/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 6 ), +"shape": SubResource( 5 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) } ] 4/z_index = 0 @@ -159,14 +159,14 @@ points = PoolVector2Array( 512, 192, 0, 192, 96, 64, 384, 0 ) 5/navigation_offset = Vector2( 0, 0 ) 5/shape_offset = Vector2( 0, 0 ) 5/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -5/shape = SubResource( 7 ) +5/shape = SubResource( 6 ) 5/shape_one_way = false 5/shape_one_way_margin = 1.0 5/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 7 ), +"shape": SubResource( 6 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) } ] 5/z_index = 0 @@ -180,14 +180,14 @@ points = PoolVector2Array( 512, 192, 0, 192, 96, 64, 384, 0 ) 6/navigation_offset = Vector2( 0, 0 ) 6/shape_offset = Vector2( 0, 0 ) 6/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -6/shape = SubResource( 8 ) +6/shape = SubResource( 7 ) 6/shape_one_way = false 6/shape_one_way_margin = 1.0 6/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 8 ), +"shape": SubResource( 7 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) } ] 6/z_index = 0 @@ -201,14 +201,14 @@ points = PoolVector2Array( 512, 192, 0, 192, 96, 64, 384, 0 ) 7/navigation_offset = Vector2( 0, 0 ) 7/shape_offset = Vector2( 0, 0 ) 7/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -7/shape = SubResource( 9 ) +7/shape = SubResource( 8 ) 7/shape_one_way = false 7/shape_one_way_margin = 1.0 7/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 9 ), +"shape": SubResource( 8 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) } ] 7/z_index = 0 @@ -222,14 +222,14 @@ points = PoolVector2Array( 512, 192, 0, 192, 96, 64, 384, 0 ) 8/navigation_offset = Vector2( 0, 0 ) 8/shape_offset = Vector2( 0, 0 ) 8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -8/shape = SubResource( 10 ) +8/shape = SubResource( 9 ) 8/shape_one_way = false 8/shape_one_way_margin = 1.0 8/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 10 ), +"shape": SubResource( 9 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) } ] 8/z_index = 0 @@ -267,7 +267,7 @@ script = ExtResource( 9 ) [node name="TileMap" type="TileMap" parent="."] scale = Vector2( 0.2, 0.2 ) -tile_set = SubResource( 4 ) +tile_set = SubResource( 10 ) cell_quadrant_size = 64 collision_layer = 2 collision_mask = 15 diff --git a/Levels/Level_0003.tscn b/Levels/Level_0003.tscn index ef443c7..35dad68 100644 --- a/Levels/Level_0003.tscn +++ b/Levels/Level_0003.tscn @@ -284,10 +284,10 @@ position = Vector2( 1520, 296 ) [node name="Camera2D" type="Camera2D" parent="Character"] current = true zoom = Vector2( 0.5, 0.5 ) -limit_left = -1000 -limit_top = -1000 -limit_right = 2000 -limit_bottom = 1000 +limit_left = 0 +limit_top = -500 +limit_right = 1800 +limit_bottom = 400 drag_margin_h_enabled = true drag_margin_v_enabled = true editor_draw_limits = true |