a mini game within a game?

Hey

if I wanted to create a mini-game within a game, for example, I am thinking of a section where the player needs to hack the computer to unlock the door. Once the user enters the trigger area at this point will I need to use a script to go into a new scene or can I do everything in one?

How do I do this? with scripots? or do i just make a new scene and make the whole game in that?

but then how do I return to the actual game after the mini-game is complete

are there any tutorials on this?

Unfortunately, you’re asking a lot of questions there and the actual how is a bit more complicated. You can do either depending on the requirements of the mini game. If you are hacking a computer, you might just zoom in on the screen and it’s simply a 2d mini game (fallout 4 example)…or maybe you move to a different part of the screen and do a 3d mini game with a small fade. If you can keep it in one scene, I’d suggest try to go with that as your first option.

I think your right Brathnann but I would say that a lot of what he’s talking about depending on how he wants to do it will depend on world canvas. So you know those pop up menu’s and so on you see on fancy AAA sci fi games? You’d do all your coding, get a world canvas set up next to your computer than it would pop up like a holographic image.

It’s just a matter of applying a puzzle game to a world canvas while within your 3D scene, not hugely difficult but it will take quite a bit of time.

hmm thanks so much guys

I could create a specific area in my game world for this puzzle and teleport the player then and once complete teleport the player back or something

thanks so much