Step 1:
To start load up the Unreal engine and either make a new project or continue one you have already started. When you get to the screen shown below, click on the green add new button. From there you will see a UI drop down and from there select widget blueprint. It will now open a new tab.
Step 2:
When you get to this screen you will need to add the buttons that are shown. To make these buttons, on the left hand side of the screen press and drag button into the work space. If you want text simply drag text into the button on the hierarchy underneath the palette where you found the button. If you click on the button, you will get a bunch of options on the right hand side of the screen. This is the details section. You can change normal, pressed, and hovered options of the button. You can also change the size of the button and the anchor of the button, For me I placed the anchor in the middle of the screen because that is where my buttons are located.
Step 3:
To make the button do something scroll down on the details section and the right until you find events. For this you want on released, so click on that and it will open another tab. You will now see your on released button. From that red button click and drag the white triangle to the right and let go. You now need to search for open level. Remember this is for a start game button. For the level name make sure you type in the exact name of the level you want to open. Press compile toward the top of the screen and also save. Now go back to the screen we started on.
Step 4:
When you are back at the screen we started on, towards the top click on blueprint and go to open level blueprint. From there copy what I have in the picture below. Make sure your start button is chosen, and the box is check on the set.
You have now created your own menu system.







No comments:
Post a Comment