Android 2d canvas game: FPS Jitter problem

后端 未结 5 1537
后悔当初
后悔当初 2021-01-31 07:04

I based my game off of the lunar lander demo, although heavily modified, and I can get around 40-50fps but the problem is it fluctuates between 40-50fps so much that it causes t

5条回答
  •  长情又很酷
    2021-01-31 07:11

    I would use SurfaceView instead of View if your game is action heavy. If you don't need to update the GUI rapidly then View is fine but for 2D games it's always better to use SurfaceView.

提交回复
热议问题