• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps [HELP] Looking for the best solution for putting controls + stats over my game

zollen

Newbie
DeadlyChambersAndroidMobileGame-1.png


I am trying to add several game controls and stats display (i.e. score..etc) over my game similar as the sample above. What would be the best solution? I am thinking of overlay. If overlay is the best solution, would anyone able to offer some code sample of building a overlay control+display on top of a game? Any information would be greatly appreciated. Thanks.
 
Overlay is definitely the best choice. As for code examples, it's hard to give anything concrete without knowing whether you are rendering with OpenGL or Canvas?
 
Mmkay, well, the best thing to do is create custom Views that you place on top of the canvas. Im on mobile right now, so writing code is a pita, but that is the idea behind it.
 
Back
Top Bottom