In this java game applet tutorial we will learn about adding physics to our game applet. More specifically we will add gravity to our bouncing ball, a
In this java game applet tutorial we will learn about adding physics to our game applet. More specifically we will add gravity to our bouncing ball, a
I’m feeling lazy so I think that I will come up with my own easy formula(:
I made a weight variable and I added the weight after the y+=dy*dt + .5*gravity*dt*dt*weight!It actually worked!Bounced heavier and when gravity was zero fell faster