How are buttons made to be clicked?

Posted by Johnny on Game Development See other posts from Game Development or by Johnny
Published on 2012-04-11T10:10:32Z Indexed on 2012/04/11 11:43 UTC
Read the original article Hit count: 369

Filed under:

I just want to ask a general question. According to that answer, Ill continue thinking.

You know in games there are lots of clickable items. Play button, exit, comboboxes maybe etc.

My question is are those buttons drawn in same canvas with background and all other things, or for every different thing there is another canvas object?

My question is about for general. Im not asking about a specific game, im asking how they are made generally.

Im planning to start a game on Android, and Im confused actually how to design buttons, and other object. Probably Im going to use View/SurfaceView for now. I don't have much experience with OpenGL yet.

Thanks in advance.

© Game Development or respective owner

Related posts about android