Your gravity seems to be working, but your floor is hardcoded to 390-dia/2. You could change the floor if the player's y is above the platforms and within the x range of either one.
Escape the carwash: A platformer
A downloadable game
ESCAPE THE CARWASH: A PLATFORMER
You are a cat that has found themselves in a car wash. You must jump on the cars to get out of the car-wash (reach the end of the level) before the timer runs out
Avoid the car-washing people as much as possible to escape the car-wash!
1. Press the a or A key to move backwards
2. Press the d or D to move forward
3. hover over reset button to reset
*Gravity mechanics stopped functioning when i fixed the win screen problem i'm still working on this problem, i don't know why this is happening*
1. a win screen displays when player reaches end of level
2. a lose screen display when time runs out
3. image arrays
4. a player class and a wrench class