Fixed the random position move state

This commit is contained in:
Paul Norberger
2020-04-20 14:39:51 +02:00
parent 37ccf67677
commit efacd63543
8 changed files with 117 additions and 24 deletions

View File

@@ -619,19 +619,17 @@ height = 0.2
radius = 4.03497
height = 9.42006
[sub_resource type="CircleShape2D" id=51]
[sub_resource type="CircleShape2D" id=49]
radius = 13.3924
[sub_resource type="DynamicFont" id=50]
size = 12
font_data = ExtResource( 6 )
[node name="Player" type="KinematicBody2D" groups=[
"hero",
]]
collision_mask = 14
script = ExtResource( 1 )
ROLL_SPEED = 120
FRICTION = 270
@@ -724,7 +722,7 @@ damage = 0.0
[node name="CollisionShape2D" parent="Pivot/SwordRange" index="0"]
position = Vector2( 0, -4.56405 )
shape = SubResource( 51 )
shape = SubResource( 49 )
[node name="DebugLabel" type="Label" parent="."]
margin_left = -8.12021