Jump to content

  • Log In with Google      Sign In   
  • Create Account


How to make a hidden object/photo-hunt game - Javascript/HTML5


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 moljac024   Members   -  Reputation: 107

Like
0Likes
Like

Posted 07 April 2013 - 10:25 AM

I have this idea for a simple game, a photo-hunt/hidden-object type game.

 

hidden object game (sometimes called hidden picture) is a genre of puzzle video game in which the player must find items from a list that are hidden within a picture. 

 

(http://en.wikipedia.org/wiki/Puzzle_video_game#Hidden_object_game)

 

So my first question would be how to actually achieve this. My initial thought is to separate the objects into individual files with a transparent background so that I can overlay them on the main scene. Does this seem correct? If so, how do I actually do the overlaying and subsequent removing of objects, I'm guessing I will need an engine, which leads me to...

 

My idea is to make it web-based, specifically looking at HTML5 so it's cross-platform. I first thought of doing it with canvas but then I stumbled upon this: https://developers.facebook.com/blog/post/2012/04/17/making-a-speedy-html5-game/, where they say how canvas was actually quite slow and unusable so they ended up with their own rendering engine. Are there any ready to use engines that could fit my needs?

 

Basically, I'm not to sure of the direction I need to take to make this. I would appreciate any and all tutorials or documentation or whatever kind of learning material :)


Edited by moljac024, 07 April 2013 - 10:28 AM.


Sponsor:

#2 minibutmany   Members   -  Reputation: 1474

Like
1Likes
Like

Posted 07 April 2013 - 12:34 PM

When they said the canvas was slow, they weren't talking in seconds, but in milliseconds. HTML5 should be just fine for a point-and-click kind of game like you describe. You could even get away with not even using javascript if you just use a bunch of pictures meshed together and make each one a link, but of course that is kind of limiting.  

With a quick google search, I found this engine for JS: crafty. I haven't used it but it seems fairly well documented.


Stay gold, Pony Boy.

#3 moljac024   Members   -  Reputation: 107

Like
0Likes
Like

Posted 07 April 2013 - 03:29 PM

Hey thanks for that suggestion! Crafty certainly looks nice.

 

Also, if anyone else might be interested in this topic, I have found this: http://ntt.cc/2011/01/31/66-open-source-javascript-game-engine-for-serious-developers.html

Seems like there are a lot of these engines/frameworks and that's awesome.

 

You are right though. Speed of canvas shouldn't be an issue for a simple game like this that isn't even real-time.

 

I'm still not sure of how exactly I should achieve my goal but I'll play around with canvas and see where I end up.


Edited by moljac024, 07 April 2013 - 03:30 PM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS