generating hallways using prefabs based on difficulty
So I've been searching everywhere and I have had no luck.
I want to build a level that has 6 hallways that branch off the main room in a pattern based off of a chosen difficulty.
I have hallway sections build as prefabs that I'd like to place down to save from building the entire level for each difficulty.
I'm really new to C# and I have no idea where to start doing this. Any help would be greatly appreciated.
Answer by tormentoarmagedoom · Jul 18, 2018 at 12:19 PM
Good day Tulwean.
I dont get exactly what you want... You want to create hallways during runtime? Then learn about Instantiate()
And if you are that new, maybe is a good option to llok some basic / intial tutorials about Unity interface, Unity scripting, and Unity features... It will make you realize all you can do !!
Good luck!
This is what I would like to do. This would be for easy and hard would be a lot bigger. This is just one set of hallways. Rooms would be attached to the hallways but I'm sure if I can figure out the hallways the rooms should be easy. I've watched a ton of tutorials and have some Udemy courses(since they are a huge sale I grabbed a bunch of them).
If I can figure out how to do it the mansion would be built in the previous scene to reduce load screen time
And yeah. I am that new. I've never touched C#. From what I've seen with it Unity is an extremely powerful game engine and I cant want to get more in-depth with it.
Your answer
Follow this Question
Related Questions
Is there a way to control when lighting is generated? 0 Answers
Different color for each instance of a prefabs 1 Answer
Prefab block based level generation | Generating a level from prefab blocks 0 Answers
Making Prefabs with new origin from imported model? 0 Answers
Randomly generated content? 1 Answer