Page 1 of 2
Making Custom Menu
Posted: Wed Mar 16, 2016 6:43 am
by supadupa64
I would like to make a menu using dialogue system and having it hooked up to the save/load function some how. I want this menu to show when I hit ESC during game. I tried following the tutorial and using the quest log menu (I don't know if that's what this is for or not), but it just lost me mid way. I need some serious help and I don't think it's that complicated! THANKS!!!!!!!!! Here's what I have so far.
Re: Making Custom Menu
Posted: Wed Mar 16, 2016 12:49 pm
by Tony Li
Hi,
Nice screen!
I recommend using the Menu Template Prefab on the
Dialogue System Extras page.
Unlike the FeatureDemo.cs script that's used to run the example scenes, the Menu Template Prefab is designed for real games.
It provides a very generic-looking UI that you can customize with your own background, button textures, and sounds:
If you don't want to show Game Title, you can just delete that UI element.
The nice thing about the Menu Template Prefab is that all the code is hooked up behind the scenes, and it takes care of resuming, saving, loading, exiting, and an options menu.
Re: Making Custom Menu
Posted: Thu Mar 17, 2016 3:51 am
by supadupa64
Ok, so it looks good and I starting using it. Here's what I really want to know though. I have one scene for my game. It's open world. So do I drop all this menu stuff into my main scene or do I create a scene just for the menu? I currently have a menu that shows before my game and you can click to start the game. But when I am in game and hit esc to show the pause menu would it access the another scene where I created the menu or would it just pull the scene from the main scene? Because I installed the template menu into my game and it just shows when I start the game.
Re: Making Custom Menu
Posted: Thu Mar 17, 2016 5:28 am
by supadupa64
How is the menu accessed in game? I want it to show when I hit ESC. I figured this would already be set up. By the way, all the help you are giving is EXTREMELY HELPFUL!!! THANK YOU!!!!!!!!!!!!!!!!!!!!!!!
Re: Making Custom Menu
Posted: Thu Mar 17, 2016 6:24 am
by supadupa64
Ok, I figured out what is going on...
First I made a playable version and that made things clear.
Loads
1) Unity Splash Screen
2) My custom splash screen
3) My custom start menu screen (click start)
4) Loads new UI start menu you suggested
5) Press start again
6) Loads actual game
So... I see the steps of what is happening here. By the way the pause menu works great in game. It just doesn't hide the cursor after I hit ESC again to close it. I'll see if I can get that to work.
Re: Making Custom Menu
Posted: Thu Mar 17, 2016 8:45 am
by supadupa64
Ok, so I figured the whole thing out... Finally. [SOLVED]
Re: Making Custom Menu
Posted: Thu Mar 17, 2016 9:04 am
by Tony Li
Hi,
Sorry for the late reply. I just now got online for the morning. If I can help with anything, just let me know.
Re: Making Custom Menu
Posted: Thu Mar 17, 2016 11:32 am
by supadupa64
Here's all I got so far. Thanks to Dialogue System I now have a killer start menu.
But honestly though the best part is that it works.
- Start Menu
- startmenuboom.jpg (100.34 KiB) Viewed 2715 times
- Pause Menu
- pausemenu.jpg (58.56 KiB) Viewed 2715 times
Re: Making Custom Menu
Posted: Thu Mar 17, 2016 11:42 am
by Tony Li
Looking good!
Re: Making Custom Menu
Posted: Thu Mar 17, 2016 1:33 pm
by bohnstudios
Nice!