Game
Great Ape
7 years ago

Creating a modular main menu


Hello,

My name is Oliver; I am the user-interface designer for the game Great Ape. My main focus on this project is to create a streamlined user-interface.

I am going to write about the first two weeks spent creating a main menu. I approached this task with a vague idea of how I wanted the main menu to look like. I wanted a style that fit the tone of the game but that was also simplistic.

Rulebook

I used a ‘cartoonish’ font to capture the cartoony atmosphere of the game. Making the UI simplistic was as simple as using primitive shapes, specifically rectangles.

These two ‘rules’ makes the foundation of the UI. Using a foundation like this will make sure that the UI is consistent throughout the game.

One major part of my focus point is to create a streamlined user-interface. In other words, the user-interface has to be:

  • Easy to use

  • Easy to learn

  • Natural for the user

Following these rules should produce a streamlined user-interface as the end product… hopefully.

Preparation

After creating the first UI-element I realized that it would not be sustainable to re-create every element again and again. Thankfully Unity have the wonderful feature called prefabs.

I made several UI-elements that I thought would be useful for me and saved them as prefabs. Added bonus with prefabs is that if you change the prefab every instance of that prefabs updates with the changes. Which makes it easy to adjust the UI to our liking.
With a collection of prefabs, I was ready to finally tackle the task at hand, creating the menu.

5d0a93c586b9a.png

Examples of elements saved as prefabs

Implementation

The idea was to be efficient with screen space, have everything start from the left and expand out to the right.

5d0a93c87cfc2.gif

First iteration of the main menu
The menu is setup in a way where all the content exists in different windows.

Let’s use the options window as an example.
This window consists of two main elements:

  • Title

  • Button holder

5d0a93cb396ce.png

The title is simply the title of the window, in this case “Options”.

The button holder is where all the button prefabs go. The holder also has a script which controls the navigation through the menu.

The buttons that go into the button holder are positioned automatically which cuts a lot of work for me. I can easily adjust the menus just by dragging in prefabs to the button holders or rearrange buttons in the hierarchy.

Summary

Adding all the parts together creates a modular UI that can easily be built upon, adjusted or rearranged. It has severely cut the time to create new UI-related content for me and I will most likely use similar practices in future projects.

I think the menu turned out good, I find it is easy to use. But I am the one who made it, I can’t wait to get feedback on it from other users.

For the next blogpost I’ll be writing about the level select screen which is a beast on its own to handle.



0 comments

Loading...

Next up

Path of Kami: The Evolution of the Lore

I have added rewards for quests so that villagers can give you something in return for your hard work helping them. 🥳

I want to know - what's your favourite quest reward?

One of the most critical update for Sunblaze demo. Now you are able to pet a cat! Finally!

Microsoft Windows XP Unprofessional (windows logo prototype)

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

Terraria

Made my first ever animation.

Let me introduce you to the new Mech line: Gendai Spec. Those are Mech that specializes in surprise attacks, covered operations, and stealth. They are equipped with melee weapons but one of Gendai's frames supports sniper rifles.

not the greatest house, but it's a house! :D

Explosive domino effect