Clicking on clues and other objects in a 2D cluedo like game
Posted
by
Anearion
on Game Development
See other posts from Game Development
or by Anearion
Published on 2012-03-27T17:59:18Z
Indexed on
2012/03/28
11:43 UTC
Read the original article
Hit count: 271
I'm a java/android programmer, but I don't have any experience in game programming, I'm already reading proper books, like "Pro Android Games", but my concerns are more about the ideas behind game programming than the techniques themselves.
I'm working on a 2D game, something like Cluedo to let you understand the genre. I would like to know how should I act with the "scenes", for example, a room with a desk, TV, windows and a lamp. I need to make some items tappable and others not. Is it common to use one image (invisible to the user) with every different item a different color, then call the getColor() method on the image? Or use one image as background, and separate images for all the items? If the latter, how can I set the positioning? and should I use imageView or imageButton?
I'm sorry if those are really low quality questions, but as "outsider" ( I'm 23 and still finishing my university ) it's pretty hard learn alone.
© Game Development or respective owner