From 3e1989dc3bbb80ed5c7db48b438b57baa7f74b08 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Sun, 8 Jan 2023 23:48:19 +0000 Subject: [PATCH] Fix kiwi legs poking through front of press basin --- levels/Level0A.tscn | 2 +- scenery/facilities/Press.tscn | 31 +++++++++++++++++-------------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/levels/Level0A.tscn b/levels/Level0A.tscn index ab4d373..d7f30cc 100644 --- a/levels/Level0A.tscn +++ b/levels/Level0A.tscn @@ -51,7 +51,7 @@ tile_data = PoolIntArray( 262145, 5, 0, 262146, 1, 0, 262147, 1, 0, 262148, 1, 0 z_index = 5 [node name="Press" parent="World/YSort" instance=ExtResource( 5 )] -position = Vector2( 247, 391 ) +position = Vector2( 247, 412 ) [node name="Player" parent="World/YSort" instance=ExtResource( 2 )] position = Vector2( 486, 154 ) diff --git a/scenery/facilities/Press.tscn b/scenery/facilities/Press.tscn index b87de34..75c815e 100644 --- a/scenery/facilities/Press.tscn +++ b/scenery/facilities/Press.tscn @@ -22,20 +22,19 @@ extents = Vector2( 104, 10 ) extents = Vector2( 104, 16.5 ) [node name="Press" type="StaticBody2D"] -position = Vector2( 0, -64 ) script = ExtResource( 8 ) [node name="PressB" type="Sprite" parent="."] -position = Vector2( 0, -7 ) +position = Vector2( 0, -23 ) z_index = -1 texture = ExtResource( 5 ) [node name="PressF" type="Sprite" parent="."] -position = Vector2( 0, -7 ) +position = Vector2( 0, -23 ) texture = ExtResource( 3 ) [node name="FillingBottle" type="Node2D" parent="."] -position = Vector2( -96.6, 1.7 ) +position = Vector2( -96.6, -14.3 ) [node name="BottleOliveoilOil" type="Sprite" parent="FillingBottle"] position = Vector2( -16, 25 ) @@ -55,49 +54,50 @@ texture = ExtResource( 7 ) texture = ExtResource( 4 ) [node name="BottleOliveoil" type="Sprite" parent="."] -position = Vector2( -65.6, 31.7 ) +position = Vector2( -65.6, 15.7 ) texture = ExtResource( 1 ) [node name="BottleOliveoil2" type="Sprite" parent="."] -position = Vector2( -36.6, 31.7 ) +position = Vector2( -36.6, 15.7 ) texture = ExtResource( 1 ) [node name="BottleOliveoil3" type="Sprite" parent="."] -position = Vector2( -8.60001, 31.7 ) +position = Vector2( -8.60001, 15.7 ) texture = ExtResource( 1 ) [node name="BottleOliveoil4" type="Sprite" parent="."] -position = Vector2( 18.4, 31.7 ) +position = Vector2( 18.4, 15.7 ) texture = ExtResource( 1 ) [node name="BottleOliveoil5" type="Sprite" parent="."] -position = Vector2( 45.4, 31.7 ) +position = Vector2( 45.4, 15.7 ) texture = ExtResource( 1 ) [node name="BottleOliveoil6" type="Sprite" parent="."] -position = Vector2( 72.4, 31.7 ) +position = Vector2( 72.4, 15.7 ) texture = ExtResource( 1 ) [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] -position = Vector2( -128.6, -134.3 ) +position = Vector2( -128.6, -150.3 ) polygon = PoolVector2Array( 208, 27, 160, 7, 106, 7, 60, 24, 60, 48, 84, 32, 120, 26, 158, 26, 190, 39, 208, 56 ) [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="."] -position = Vector2( -128.6, -134.3 ) +position = Vector2( -128.6, -150.3 ) polygon = PoolVector2Array( 60, 47, 60, 136, 90, 151, 122, 155, 157, 155, 185, 146, 208, 129, 208, 125, 184, 143, 158, 151, 123, 151, 92, 147, 62, 134 ) [node name="CollisionShape2D2" type="CollisionShape2D" parent="."] -position = Vector2( 101.4, -0.300003 ) +position = Vector2( 101.4, -16.3 ) rotation = 0.628319 shape = SubResource( 1 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2( -10.6, 38.7 ) +position = Vector2( -10.6, 22.7 ) shape = SubResource( 2 ) [node name="Tween" type="Tween" parent="."] [node name="CollectionArea" type="Area2D" parent="."] +position = Vector2( 0, -16 ) collision_layer = 0 collision_mask = 8 @@ -105,12 +105,15 @@ collision_mask = 8 polygon = PoolVector2Array( 68, -78, 67, -24, 5, -3, -63, -22, -62, -84, 5, -103 ) [node name="SquishSfx" type="AudioStreamPlayer2D" parent="."] +position = Vector2( 0, -16 ) stream = ExtResource( 10 ) [node name="SpraySfx" type="AudioStreamPlayer2D" parent="."] +position = Vector2( 0, -16 ) stream = ExtResource( 9 ) [node name="BottleArea" type="StaticBody2D" parent="." groups=["interactable"]] +position = Vector2( 0, -16 ) collision_layer = 2 collision_mask = 0 script = ExtResource( 11 )