fix (i think....) the silly one-way platform issueeee
This commit is contained in:
parent
57b341f515
commit
7606485692
5 changed files with 15 additions and 14 deletions
|
@ -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):
|
||||
|
|
|
@ -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="."]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue