fix (i think....) the silly one-way platform issueeee

This commit is contained in:
Haze Weathers 2023-03-08 19:26:09 -05:00
parent 57b341f515
commit 7606485692
5 changed files with 15 additions and 14 deletions

View file

@ -43,6 +43,7 @@ var arrowpos = Vector2(5,3)
#Set initial respawn point
func _ready():
$LeftShoe.shape.length = 0.0
Game.respawn_point = global_position
func _physics_process(delta):

View file

@ -36,7 +36,7 @@ extents = Vector2( 2.5, 5 )
extents = Vector2( 2.5, 5 )
[sub_resource type="RayShape2D" id=44]
length = 1.0
length = 0.01
[sub_resource type="Animation" id=29]
resource_name = "climb"
@ -645,12 +645,12 @@ shape = SubResource( 6 )
position = Vector2( 0.5, 5 )
shape = SubResource( 39 )
[node name="CollisionShape2D2" type="CollisionShape2D" parent="." groups=["sword"]]
position = Vector2( 3, 9 )
[node name="LeftShoe" type="CollisionShape2D" parent="." groups=["sword"]]
position = Vector2( -2, 10 )
shape = SubResource( 44 )
[node name="CollisionShape2D3" type="CollisionShape2D" parent="." groups=["sword"]]
position = Vector2( -2, 9 )
[node name="RightShoe" type="CollisionShape2D" parent="." groups=["sword"]]
position = Vector2( 3, 10 )
shape = SubResource( 44 )
[node name="ClimbRay" type="RayCast2D" parent="."]