Focus Hunt
Focus Hunt is a look and find game with a very shallow depth of field, Focus to find the easter elements in the scene.
Focus Hunt
Theme and main Idea
For LD57, the theme was Depths, I had no real idea for a complex game mechanic that would fit the theme, so I decided to make a game for my oldest daughter rather than for the ludum dare audience. She loves search-and-find games, so I decided to create one just for her. She even helped me shape it: she suggested making it about Easter (since it was just around the corner), and together we picked the color palette. But this still inspired me to find my twist! You have to adjust your focal length to uncover the element hidden in the depths of field of the scene.
Technical stuff
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)
Pixel density
I am guessing that the issue is that I have a different pixel density that you have. It was troubling me while copying that my image where scale, so I had to include a strange x2. I have replaced the x2 multiplication by x pixelDensity() in the chunk copying. Could one of you check if the issue is still there ?
Citation
@software{Masson2025_FocusHunt,
author = {Masson, Dimitri},
title = {Focus {Hunt}},
version = {v1.0.1},
date = {2025-04-06},
url = {https://dhmmasson.github.io/projects/LudumDare/LudumDare57.html},
doi = {10.5281/zenodo.15181101},
langid = {en}
}