Skip to main content

Timeline for LibGDX: Change Direction

Current License: CC BY-SA 4.0

4 events
when toggle format what by license comment
Feb 11, 2019 at 13:23 vote accept Junior Albin
Feb 10, 2019 at 7:56 comment added Peethor I've edited the answer to more closely resemble your edited question, but it doesn't answer what happens when your ball reaches the bottom of your screen. You will need to find a way to differentiate between reaching the bottom of the screen and reaching the side of the screen. If you have the screen size, this can easily be done by using the ball's position and size. If posXBall + circleBall.width >= screen.width, then it reached the side of the screen.
Feb 10, 2019 at 7:51 history edited Peethor CC BY-SA 4.0
added 4 characters in body
Feb 9, 2019 at 17:46 history answered Peethor CC BY-SA 4.0