I want to create a menu and level select screen for my Android game but I’m not sure how to go about doing so. I already have the game portion of my game which renders to a SurfaceView object so I was wondering should I also have the menus render to a SurfaceView? If so should it be rendering to the SAME surface view or should the game and each menu screen have their own?
Basically I want it set up like so in terms of the activity flow:
Main Menu > Level Select > Game
I currently have the level select set up as a regular Android UI .xml layout but since I scale the rendered image to fit whatever screen it’s playing on I can’t do that unless it’s drawing to a SurfaceView.
Any help or advice is appreciated! 🙂
As of supporting multiple screens, the standard
Androidlayout system will surely do a better job since it’s been polished to fit any screen size and density and provide a perfect user experience. My own experience tells me that it’s much easier to implement kind of level select menu using theAndroidUI tools, then to draw it yourself on theCanvas. And it looks nicer!