0
\$\begingroup\$

I am making a 2D platform game in Java but I don't know how to apply gravity and jumping on my player and other living creatures in game that it looks natural and that it is physical correct. I have formula: speed = v0 + gt^2/2 but i don't know how to implement it in my code...

Thanks for any help.

| improve this question | | | | |
\$\endgroup\$