Closed this-yujunkim closed 4 days ago
Enemy ships keep moving down and even go through the green bottom line. This only happens when the enemy ship's formation is circular.
Enemy formation should not go down when boolean isAtBottom = positionY + this.height + RADIUS > screen.getHeight() - BOTTOM_MARGIN; is true.
boolean isAtBottom = positionY + this.height + RADIUS > screen.getHeight() - BOTTOM_MARGIN;
isAtBottom
Thank you we are working on a fix !
It should be fixed by our latest PR
Seems like it is now fixed! Thanks to your team. Well done.
Closing issue, fixed at de6919a
Title: Enemy ships keep moving down.
Summary
Enemy ships keep moving down and even go through the green bottom line. This only happens when the enemy ship's formation is circular.
Enemy formation should not go down when
boolean isAtBottom = positionY + this.height + RADIUS > screen.getHeight() - BOTTOM_MARGIN;
is true.TODO
isAtBottom
's formula.