ANDROID: How to eliminate lag and improve FPS in Android Canvas SurfaceView?
问题 I am a near beginner android programmer, and i have made a simple 2D spaceship game in surfaceView class where you can control the spacehip with your finger and you have dodge oncoming objects. However, now that i am using a lot of bitmaps my game seems to be lagging a bit. So i was wondering is there a way to destroy/garbage pictures after you use them, so they don't create so much lag. (because i think, the pictures are creating the lag) Please tell me another simple way to make my game