Thursday, October 6, 2016

Read How to make a Start Screen for UE4 Now

Menu
The Completed Start Screen


This tutorial will go through how to create a Start/Main Menu for a game on Unreal Engine. In a previous tutorial we showed that when setting up a level on Unreal Engine, for settings we added With Starter Content.

Starter Content
Starter Content

Getting Started

The first thing you do go to your user interface folder in the Content Browser. When you click into the folder and then right click on a black space anywhere in the folder. A tool bar will then appear. Scroll down and click on the User Interface bar and then select the Widget Blueprints sub bar.  A new widget file will appear and you then name it, for example Start_Screen. You then save it.

Content Browser
UI Folder

Design

With your new User Interface file, you click into it which brings you into widget editor. We will be making the buttons and background image with the designer.

Widget Editor
Widget Editor

Palette
Palette
You first select Button on the Palette. To place it onto the screen. Note: if anything is unable to be dragged onto the screen, you can still drag it onto the Hierarchy, onto the Canvas Panel, it will still appear. A Details Panel will show like in the Level Editor where you can fix anchor points, positioning etc. 

Details
Button Details

Button
Button
Hierachy
Hierarchy

After you place your buttons onto the screen, you bring in a text block for each of your buttons.For the Text that you're going to use for your title and your buttons, have a custom font installed, and have it looking suitable to your game.
Text Block
Text Block
You use the Details Panel to make the colour, font and text content. 

Text Details
Text Details
So for each button we need to give each a name and a background colour. So for this we will name our buttons START and QUIT. 

Buttons
Menu Buttons

After you have your buttons made, bring in your background image. The image that we use is was imported into the UI folder in the Content Browser. From the Palette, drag on IMAGE. In the Details Panel, in Appearances, click into Brush. Here you can select the image you have imported by searching for it. When you have your image, adjust its size so it fills as a background screen.

Image Details
Image Details
Background Image
Background Image

When you have made your background screen, add in another text block to give your add your game name. 
Game Title
Title

Blueprints

After you have your Menu designed, click onto the Blueprints and click on, Open Level Blueprints.

Blueprints Buttton
Blueprints Button
These are the codes for your menu...

Blueprints
Menu Blueprints
After that is done, press play to test out your menu. It should look something like the image below.


Finished Screen
Finished Screen



No comments:

Post a Comment

close
Banner iklan disini