2
\$\begingroup\$

I am looking for a way to make a photo hunt game using HTML5 and Javascript. Where should I start after the images. And How would I make clickable areas on the image, using javascript? If you know of any examples that would help or are willing to help let me know, please. Thank You

\$\endgroup\$
  • \$\begingroup\$ You could either take 2 different images, and seek for different pixels, and then seek for all different pixels in a group, that is find a group of pixels, where each 'changed' pixel is not further than 5 pixels from the rest. This could be quite complicated and CPU intensive, so you could also just store coordinates of differences in some XML file. \$\endgroup\$ – Markus von Broady Nov 7 '12 at 19:13
  • \$\begingroup\$ This isn't a gamedev-specific question; it's just a general programming question, so it's off topic here and belongs on Stack Overflow. \$\endgroup\$ – doppelgreener Nov 8 '12 at 4:01
  • \$\begingroup\$ Questions about "how to make (or start making) a particular type of game" are considered off-topic here (have a look at the FAQ). \$\endgroup\$ – bummzack Nov 8 '12 at 7:36
  • \$\begingroup\$ @bummzack As I understand it, the question is about not a game as a whole, but main algorithm of dealing with images differences. For example how would one define the place of a difference in XML, as a group of pixels, a path around the place, or just a point in center? This question is definitely answerable, though it's form is not best. \$\endgroup\$ – Markus von Broady Nov 8 '12 at 13:35
  • \$\begingroup\$ @MarkusvonBroady I think the OP should clarify the question a bit more. As it is now it is too broad and off topic. Basically the same as this: gamedev.stackexchange.com/questions/19365 \$\endgroup\$ – bummzack Nov 8 '12 at 14:24
0
\$\begingroup\$

To create Photo Hunt Game using Javascript and HTML5, You should have good knowledge on

hidden object

tag map

How to preload image

Further, You have to choose a better JavaScript Library or Game Engine to develop you game

| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ -1. This is just a bunch of links and not really an answer. Also the links about hiding a form or input elements are kinda out of place. I would never use a hidden form for a HTML5 photo-hunt game. \$\endgroup\$ – bummzack Nov 8 '12 at 7:33
  • \$\begingroup\$ @bummzack, Thanks for -1. I have learned from you. I don't want point, rather I am willing to learn and share the right one. Please help me improve my answer. :) \$\endgroup\$ – Md Mahbubur Rahman Nov 8 '12 at 8:24
  • \$\begingroup\$ @bummzack, As your comment, I have removed hidden form and hidden value. (I thought that those may help him). And now what should i include to this answer? Please help me to improve my answer. \$\endgroup\$ – Md Mahbubur Rahman Nov 8 '12 at 9:24
  • \$\begingroup\$ The question itself is not really answerable and off-topic so it's hard to tell how to improve your answer. I removed the downvote since you removed the links that are plainly misleading. \$\endgroup\$ – bummzack Nov 8 '12 at 9:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.