Press [SPACE] to flip the bottle.
NOTES: Thanks to @FUNUT for the tutorial. All art by me, and positioning. The game basically flips the bottle when you press [SPACE] by changing the y position of the bottle by Y Velocity (A variable), and turning it. When the Y position is the same as when it started, it repeats until the bottle is in direction 90, that is if the direction when the bottle landed is greater than -40, and less than 40. If not, the bottle points either in direction -90 or 90, depending on which direction is closer to the number, and the direction is greater than -90 and less than 90. If the direction is 90 or -90 when you finish flipping your bottle, it waits 1 second and repeats changing the direction by (90 - (direction / 3)) if the direction is 90, if the direction is -90 then it changes the direction by (-90 - (direction / 3)). Then the bottle sets its size to (60 + ((y position + 66) / 5)). And the table sets its size to (100 + (( size of bottle - 60 / 2). UPDATES: 4/16/2021: Posted |'u'|