You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Ball Motion (absolute position) as an example, if one clicks reset over and over at the start of running the code while the ball is moving to the bottom-left of the screen, it seems to reset correctly. However, if you let the ball bounce so it's then traveling to the top-right and reset it, the ball moves back to the center of the screen but keeps the same direction from before the reset, traveling towards the top-right. Additionally, reloading the page seems to fill some variables with random values; sometimes the ball will start moving to the top-right or top-left upon refreshing, despite supposedly being reset in the code.
The text was updated successfully, but these errors were encountered:
Using Ball Motion (absolute position) as an example, if one clicks reset over and over at the start of running the code while the ball is moving to the bottom-left of the screen, it seems to reset correctly. However, if you let the ball bounce so it's then traveling to the top-right and reset it, the ball moves back to the center of the screen but keeps the same direction from before the reset, traveling towards the top-right. Additionally, reloading the page seems to fill some variables with random values; sometimes the ball will start moving to the top-right or top-left upon refreshing, despite supposedly being reset in the code.
The text was updated successfully, but these errors were encountered: