Anyone know where to find a tutorial on creating a hidden object game with UE4? I did a search on this forum but it didn’t come up with anything. A search on Google comes up with lots of tutorials but none dealing with hidden object games. I want to create a few of these type of games for my grand children. If I can get to create a couple of these I may try a match3 type game next.
Well I’m assuming you already have an “object” which you want to hide. In that object you most likely have some kind of visual indicator, be it a mesh or sprite. You can use the “Set Hidden in Game” node to hide said object. You can also use “Actor hidden in game”, but I’m pretty sure that any collision responses will also be disabled if you do so.
Here’s a video explaining what Hidden in Game does.
Thank you for your response. I am brand new to UE4 and after looking at the video that you included, I am not sure how that relates to a “hidden object” game? The type of hidden object game that I am looking to create is a room, such as a living room for example with a numerous objects lying around. The object of the game is for the user to find all of the objects contained in a list which is displayed on the screen. When they find an object that is listed and click on it, it disappears and the object is removed from the list.
Question, are the hidden objects randomly picked out of available objects in the picture? Or are they always the same objects? So for example would level 12 always have you look for the Glass, sunflower etc.? Will they always be in the same position too?
My suggestion would be to have a database stored of every object in the picture and have the game select a small random sample of everything available in the picture to be shown. If you have the ability to manipulate their location, that would make it even better. Spitballing something real quick for example:
You could block in the whistle or better, have a whistle that needs to be placed in the scene. Place target points of where the whistle could possibly go (maybe a SmallObjectBillboard) in several locations where a small object, like a whistle or a pocket watch, could go. Have the system choose one of those locations at random and place the whistle in that location. It would then be added to the array of objects to be found, the CurrentObjects array is what you have in the scene currently.
Each level in the game has a different room, for example, living room, kitchen, bedroom, etc. Each room has different items to be found. The room may have 40 or 50 items scattered around but only 10 or 12 of them are clickable. Level 3 and level 12, for example, might both be in the kitchen but the items to find may be different in level 3 than those in level 12. Unity has a demo of making a hidden object game but I wanted to use UE4. Here is the link for the Unity tutorial to show you what I am trying to do. Unity 5 - How to Make a Hidden Object Game - Part 1 - YouTube . I am not familiar with Unity at all and I am just beginning to learn UE4 but I would prefer using UE4. Being an absolute beginner with UE4 is why I am looking for a tutorial.
For that, you should make a new widget class which will act as “container”. Inside that widget class you would have a single button. For the different objects you can use a datatable. You’d call random objects from that datatable and randomly pick empty container widgets and set the button art inside that container to the image you have stored in your datatable and add the container to an array of “containers in use”.
Thank you for your help . I will have to learn a lot more about UE4 to learn how to do that given that I am just starting out with UE4. I’ll try to get a few tutorials on using UE4 and do some studying. Thanks again.
Hey, I just submitted my Hidden Object template to marketplace. Should be available in couple of days. You can follow this topic if you are still interested: