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

Started by
1 comment, last by BojanMati? 11 years ago

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

A 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 :)

Advertisement

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.

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.

This topic is closed to new replies.

Advertisement