- Home /
How can i put minigames Inside a 3D Third Person Game
First of all I want to thank Unity for providing a free yet wonderful application for creating apps.
I am a graduating IT student who is creating a game for my thesis. I am completely new to game development but I am very eager to learn and dedicate lots of hours per day to create and finish my thesis. By the way I am from the Philippines.
My proposed thesis is a Philippine Inspired 3d adventure educational game. I have been trying to learn the basics for two weeks now and had great progress.
My questions would be
How can I make mini-games inside my 3rd person game? like jigsaw picture puzzle and question and answer?
How can I trigger them? How can i make a portal for like ex from stage 1 up to stage 2?
How can I insert some kind of trigger for like ex( I walk on a
floor and the minigame appears)
Thanks in advance. I would really appreciate it!
Answer by Meltdown · Dec 03, 2013 at 12:08 AM
Unity Answers is more for help on a specific question or problem you are having. For more discussion related topics, I'd suggest posting on the Unity forums at http://forum.unity3d.com/forum.php
But to give you an indication...
You can add a minigame as a prefab with it's own camera, then instantiate the prefab and render it on top of your 3D scene.
This is a very simple question and you should be at least be doing a few weeks of tutorials that will teach you this rather than asking people to show you how to do it.
Same answer as #2
#1 is exactly what I was looking for searching this on Google. Cheers!! Wish I could up vote more!
Answer by malik_endsley · Apr 02, 2016 at 05:22 AM
You can use a UI element set to appear on a trigger. You can create an empty Game Object, give it a rigid-body that's set to trigger mode, then write a script that when the trigger is activated enables the UI element (or instantiates it if there's a lot of them.
You can create another trigger that when activated, loads another scene that you can specify in the code.
Any thing that you need to activate when the player is in a specific spot can be taken care of with a trigger.
Reference the empty game object with your trigger and check it for activation. If the trigger is activated, turn on a variable and use that variable to enable your UI element that contains your minigame or questionnaire.
Your answer
Follow this Question
Related Questions
Drawing an overlay mini-map 6 Answers
Export & Install APK on Android 5 Answers
Driving me crazy, can't read XML file 1 Answer
Do i have to use Thread function in unity? 1 Answer
Collision Detection not Firing 0 Answers