We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f954d78 commit 8fc246aCopy full SHA for 8fc246a
2d/dodge_the_creeps/Player.gd
@@ -37,11 +37,12 @@ func _process(delta):
37
$AnimatedSprite2D.flip_h = velocity.x < 0
38
elif velocity.y != 0:
39
$AnimatedSprite2D.animation = &"up"
40
- $AnimatedSprite2D.flip_v = velocity.y > 0
41
- $Trail.rotation = PI if velocity.y > 0 else 0
+ rotation = PI if velocity.y > 0 else 0
+
42
43
func start(pos):
44
position = pos
45
+ rotation = 0
46
show()
47
$CollisionShape2D.disabled = false
48
0 commit comments