Manual Frame-By-Frame Animation, Graphics, Sound, Threading, SurfaceView and SurfaceHolder, Immersive Mode and Full-Screen
In this chapter you’ll:
Create a simple game app that’s easy to code and fun to play.
Create a custom
SurfaceView subclass for displaying the game’s graphics from a separate thread of execution.
Draw graphics using
Paints and a
onTouchEvent method to fire a cannonball ...