make rolling fiend animation speed scale with movement speed
This commit is contained in:
parent
b77ea88c50
commit
f88a3a1479
2 changed files with 3 additions and 3 deletions
|
@ -34,13 +34,11 @@ extents = Vector2( 4, 3.75 )
|
|||
[node name="RollingFiend" type="Node2D" groups=["enemy"]]
|
||||
script = ExtResource( 3 )
|
||||
score_for_killing = 40
|
||||
move_speed = 50.0
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
material = SubResource( 5 )
|
||||
position = Vector2( 4, 4 )
|
||||
frames = SubResource( 3 )
|
||||
frame = 1
|
||||
playing = true
|
||||
|
||||
[node name="FloorTestShape" type="CollisionShape2D" parent="."]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue