M
M
Mikhail Shapshay2017-04-18 12:32:30
Game development
Mikhail Shapshay, 2017-04-18 12:32:30

Realization of mini-games in a 3d game?

Hello
I am a newbie myself and am looking for help with the Unity tech help.
Actually the question:
There is an idea for a 3D quest. The character walks around the world and solves various puzzles to achieve his goal.
How to implement the transition from the 3rd person view to the mini-game.
Is it a separate scene or some other way.
Since the mini-games will be quite complex, and each with its own logic, it is more appropriate to separate them from the game code itself, but how can this be done more efficiently and economically in terms of resources?
A simple example is opening castles in Skyrim, but there will be much more complex and graphically rich puzzles.
I will be glad to any tips, resources, articles and videos in this direction.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Basmanov, 2017-04-19
@SKIV_WEBER

Make the minigame a prefab on a separate scene so that it can be played with any camera. Testing, polishing. Then paste it where it should be. Next are a few options.
An option for the lazy - by pressing the button you turn off the camera and the character model, turn on the camera that looks at the mini-game. Return back in the same way. Switching the camera can be masked by going into blackout or something else.
The option is more complicated - you make a camera controller that can focus on points in space, at the right time you change the focus point from a character to a mini-game. Either it can be one super script that can do everything, or it can be two scripts that work in turn when necessary. The camera will smoothly drive from the character to the mini-game, which will add liveliness and coherence to the game world.
If you wish, you can combine both options: drive towards the mini-game and simultaneously dim the screen, and then turn on another static camera configured for the mini-game.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question