Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm making a game for Android. The game interface consists of a SurfaceView, with objects represented by drawable Bitmaps on it. Is there a way to long-press one of the bitmaps and call a context menu, or is there a better way to interact with the bitmaps to allow the user to pick an option for each?

share|improve this question

closed as primarily opinion-based by Anko, Seth Battin, bummzack, MrCranky, Josh Petrie Feb 27 '14 at 16:33

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

This is probably getting close to UX here, but what you're doing sounds suspiciously like mouse-based thinking. Context menus are generally not the best touch-based user interface. Even for large-screen touch devices. I would suggest seeing if you can alter your gameplay to avoid having the choice. Or, worst-case, have a menu at the top or the side that changes based on what is currently selected. But really, this kind of interface is something that should be avoided on touch devices. – Nicol Bolas Dec 2 '11 at 7:38
Hm, I'll take that advice, then. Kinda hard not to have a Strategy game without menus in this case, IMO, but I'll find another way. – Mike Dec 2 '11 at 17:43

Browse other questions tagged or ask your own question.