+1 vote

What are things that I need to consider? The game itself will be in 2D, mouse click over image, keep track of how many objects you (the player) have found, some type of effect (particles) when object found, Hint system. Looking forward for some replies :D

in Engine by (13 points)

I'm wondering how you'll implement it. Just take an image, pick certain parts of it, and maybe overlay similar, smaller pictures? Somehow "cut" up the picture into smaller sections?

1 Answer

+1 vote

I might implement this kind of thing by having one node for the main, macroscopic scene image, and multiple nodes for the hidden images. The hidden images would be siblings to the main scene image, though they should be rendered on top of it. When one of the hidden images is clicked, their sprite could undergo some effect. You could either modify the sprite directly (by tweening some of its properties using a Tween node) or create a particle effect for it (using a Particles2D node).

Regarding the effect when an object is found, it might be cool to have an expanding and fading particle effect which uses the found object's sprite. You can create the particle when the object is clicked and tween its size and transparency.

You can also change the found object's sprite on screen so that there is a visual indicator that the item was found. For example, if the found object has non-natural color when hidden, you can tween to its natural colors. Or you can create a colored outline around the object that pulsates.

Alternatively, you may want to have some kind of HUD bar on the bottom or right of the scene. When the player clicks on a found object, you can move a copy of the sprite to the bar, maybe with some kind of trailing particle effect.

If the game is targeted at children, you might want to have unique sounds per item found. For example, if a hammer is found, maybe play a hammering sound when the item is clicked. You can easily play sounds using a AudioStreamPlayer node.

Regarding a hint system, maybe have some kind of audio cue when the mouse cursor is near a hidden object. Or have the mouse cursor vibrate.

Just some ideas.

Here is a rough illustration:

enter image description here

by (1,533 points)
edited by

Thank you so much for the fast reply! Also, the ideas you've provided. Definitely will try this out soon :D

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.