bug fix && plants

This commit is contained in:
Jonas Braus
2024-08-03 10:52:53 +02:00
parent 4a64f30c57
commit 7ece2c1391
8 changed files with 159 additions and 21 deletions
+2
View File
@@ -87,6 +87,8 @@ func f_shrink(body):
die.position.y += 2
animated_sprite_2d.play("shrink")
is_down = true
ray_cast_left_2.scale.x = 2
ray_cast_right_2.scale.x = 2
elif speed == 0:
speed = 160 if body.position.x < position.x else -160
else: