Focus Hunt by dhim
Focus Hunt is a Game for my Daughter that I made during LD57!
She love search and find games so I made one for her, she told me it could be about easter since its soonish and she helped me select a color palette. I tried to fit the theme, so you have to get your camera to focus.
Take a picture of the Letters of her name, 2 blue bells, a chocolate rabbit with only one ear, and 5 ladybugs.
The Game works in the embedded version, it is just super slow to load...
EDIT: I have made 2 fixes regarding perf, - v1.0.1 : I moved the music loading a bit later in the game loading process making it faster to load and I have reduced the images size - v1.0.2 : I have chunked the image in 5x5, which should make the game smoother for older computer
All are still available on my github page if you want to play the true slow to load version.
| Link | https://github.com/dhmmasson/focusHunt |
| HTLM5 | https://dhmmasson.github.io/focusHunt/ |
| Original URL | https://ldjam.com/events/ludum-dare/57/focus-hunt |
Ratings
| Overall | 197th | 3.305⭐ | 66🧑⚖️ |
| Fun | 251th | 2.841⭐ | 65🧑⚖️ |
| Innovation | 83th | 3.625⭐ | 66🧑⚖️ |
| Theme | 90th | 3.813⭐ | 66🧑⚖️ |
| Graphics | 139th | 3.477⭐ | 66🧑⚖️ |
| Audio | 190th | 2.919⭐ | 64🧑⚖️ |
| Mood | 212th | 3.113⭐ | 64🧑⚖️ |
| Given | 58🗳️ | 110🗨️ |
I had more fun making the blurry version look cool than really making the clean version really good... I adjusted the size of the ladybugs in the end, they were really impossible to find otherwise
@foolishfool no 3d engine (You can check the code and star the repository if you like the idea on github :D) behind the scene it's just 4 images :
The clean and the blurred one are merged according to a depth map. Terrible performance since I generate the resulting image everytime the depth of field change...
@ghettobastler, @foolishfool
Which element you click on is determined by a index image : . I flood fill the index image with black when you click on an element. I could have use that to implement a glow by flooding white for ex. Or actually take a picture to add to the top of the screen (so much empty space in that tree line)
Thank you all for your kind comments!
@tasakasama, you are right, I wanted the game to be on the harder side. Maybe also increasing the gamma would help
@javasaurus Thank you for the kind words!
@boboneoone Yes performance are terrible, I was lazy and I am writing / updating the full image every "frame"... I should have added some optimization :
- quantize the depth level to a hundred or so
- Segment the image in rows (since the depth is mostly a vertical gradient)
- Use mask instead of writing the pixels...
For the details in the distance, I am guessing that my fiddling with the size of the image to ajust to the screen size is bad. I should have made a full size canvas that you could pan around...
@the3rdhunter thank you for playing !
The game was lagging my browser a bit and it was hard to find the items. The art was very very cool, loved it a lot. The focus mechanic is interesting and a cool take on the theme. Great stuff!
Edit: i just recalled you're the person that made the game about lilypads last LD, great to see you back with such great artstyle again!
@tori Thank you for the kind words!
@alex-davies, oh my ! yes there are 6! You are a great look-and-finder then! Thanks for playing !
@jovialknoll, thank you! The music is my favorite part of my entry... I don't know if I can cache the result that much, that would be very big arrays. Mip mapping, splitting the image or reducing the levels of depth would probably be faster

@oliver-day, thank you for playing. The poor performances don't really help with it not being finicky!
Thank you for playing!
Thanks for this experience
Anyway, good game! I hope your daughter will be happy ^_^
@ali-yagmur Great Time! I really wanted to implement a leaderboard in the game. In fact, I added one, and it works locally, but the online version seems to fail to make that HTTP request...
@xpoho sorry for the performance, the basic p5 way of handling pixel and image is not really efficient, I should have made a shader!
@deformhead thank you! She loved it, she wants more levels!

I had the same bug as pixelstain with the current version (both on Firefox 137.0.1 (64-bit) and Chrome 135.0.7049.85 (Official Build) (64-bit)). I'm just on some regular laptop with a 1080p display and not doing anything special, not sure where anything could be coming from, unfortunately. When I downloaded a previous release from github, that one worked for me. There was one slowdown when I spammed click but other than that it ran very smooth for me!
But yeah, back to the game: It's very cute, I think the easter theme linked with searching for objects is a very cute idea. Also very creative take on the theme, using depth of field based on the theme is genius, great job for coming up with that idea! Finding objects is fun, your daughter is correct, so it's a fun game. As I mentioned before, I thought the objects were hidden quite well. All-around great game, very well done!
@busisen I should have made a render with the elements hidden from the render, then when you discover one, edit the clean version, but that would leave the element in the blurred version (albeit not really visible...).
I think I should have made an actual picture (kodak) of the element found in its context.
Thank you all for your comments
Great entry!
I also found an extra ladybug, but found the hanging bell impossible to find! I think it's the combination of being very dark to look like just a shadow and being in an unexpected location compared to everything else. Also I know you already said there are performance issues, but I was surprised that just clicking seemed to have a significant performance cost (if I clicked rapidly for a while, the blur movement would just freeze up for a bit.
Otherwise though, a really interesting game and nice take on the theme!
@muriel thank you
@flying-dog-fish, thank you for playing; the goal was for it to be difficult enough that my daughter would not spend 2min on something I work on for 24 hours. I have been listening to the music on a loop for half the dev! it haunts my nights! I wanted to compose a second song, but I could not match the energy of the first one.
@eyedromeda poor performance due to updating the pixel of the image "every" frame.
@daandruff thanks! Great TIme! Have you found the 6th ladybug?
@yancharkin, thank you for playing! She was ecstatic with the game.
@zshandi-krahn Congrats on the 6th ladybug!
- bluebells: I had originally planned to have elements hidden on the screen, not only on the ground. However, it was well hidden on purpose, so you would not see it so clearly in the blurred version.
- My full screening/resizing has indeed been an issue, I think I reversed a min/max somewhere the image tends to get bigger when you size the windows down...
- Click should only affect performance when you click on an element first, as it floods the object in the index image.
But in the end, I was able to finish it in ~400 seconds.
One thing that would improve this game for me is some way of showing which items you've already found in the scene. I liked the tracker at the top, but within the scene itself it would've been nice to have the item either removed, outlined, or otherwise colored differently.
Another idea that would "punch up" this submission but is a probably more work is making the scene animated. Adding small animations to the scene would really add another level of intrigue to the game, and further distinguish this from a typical "eye-spy" type game.
I like that you shared technical details and also the source code!
It would be nice to have a magnifying glass mechanism because some elements are a bit small :mag:
In chrome it worked nicely though. But I never found the last or first A. You are really good at hiding stuff!
Very good entry!
Excellent job! :thumbsup_tone1:
Also love the backstory. Enjoy making games for and with your daughter!! <3