So i been trying to find out how to make a wave game(If u dont know what it is, its the same concept as the wave in Geometry Dash).The way i have approach this is by changing the gravity every time a key is pressed but it doesent work every time and its not smooth.Soo if enyone has any idea on how to make it pls reply it would be much appreciated