From ae41ff091777a842c4213554f480e6f2fc81ad4d Mon Sep 17 00:00:00 2001 From: pennyrigate Date: Sun, 5 Nov 2023 21:42:42 -0500 Subject: [PATCH] fixed error where left bouyndary was extra big --- maps/canopy.tscn | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/maps/canopy.tscn b/maps/canopy.tscn index e05ad8f..ab33889 100644 --- a/maps/canopy.tscn +++ b/maps/canopy.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=33 format=2] +[gd_scene load_steps=34 format=2] [ext_resource path="res://objects/Camera2D.tscn" type="PackedScene" id=1] [ext_resource path="res://maps/map.gd" type="Script" id=2] @@ -36,6 +36,9 @@ extents = Vector2( 8, 4 ) [sub_resource type="RectangleShape2D" id=3] extents = Vector2( 224, 36 ) +[sub_resource type="RectangleShape2D" id=4] +extents = Vector2( 18, 108 ) + [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 32, 108 ) @@ -556,8 +559,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] -position = Vector2( -4, 96 ) -shape = SubResource( 1 ) +position = Vector2( -18, 96 ) +shape = SubResource( 4 ) [node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2( 800, 116 )