bug fix && plants
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user