How would I make a world where my character can jump? I tried using a for-loop to reassign the y coordinate over and over again, but then I realized that if the ground the character was landing on was higher than the ground it started on, this would definitely not work. How would I make the gravity work and how do I make a solid ground that the character can land on? Thanks for the help.

