This is just showing a sample of how basic gravity can be setup in Android in a 2D game.
As you tap on the screen, the balls will move to the height at which you touched and then continue to fall and bounce.
The code for this can be viewed at:
http://learn-it-stuff.blogspot.com/2014/03/creating-some-basic-game-gravity-for.html
Last updated on 2014年04月13日
此版本包含小幅錯誤修正和一般改善。請更新至最新版本,以獲得最佳體驗。