Questions tagged [ui-design]

Designing a clear method of communication between the game and the user, whether hardware or software.

Filter by
Sorted by
Tagged with
34 votes
9 answers
9k views

Why should I choose to design a health bar rather than heart containers?

When designing any hero-based game, be it adventure, RPG, brawler, or similar, you eventually need to decide on your health system. Barring any regenerative systems with zero UI (like Call of Duty), ...
29 votes
5 answers
22k views

Given a RGB color x, how to find the most contrasting color y? [duplicate]

Possible Duplicate: Making a symbol appear on any colour I have to mark a certain item in a way that will make it stick-out in the background. I need it to be surrounded with the color that ...
  • 10.5k
23 votes
7 answers
2k views

Interfaces 101: Making it Pretty

I've made a few games which I've actually released into the wild. There's one particular issue I run into over and over, and that's the issue of the interface/theme of the game. How can you make non-...
  • 11.3k
22 votes
9 answers
8k views

How to create a user-friendly magic spell system?

I'm designing a small 2D top-down open-world survival-ish game with a magic spell system. The way it works so far: The player receives a "wand" at the beginning of the game As the player encounters ...
  • 321
14 votes
3 answers
4k views

Why is forward=down mouse orientation commonly called "inverted"?

If you look at 3D games that allow you to control the camera using the mouse--most notably first-person and third-person shooter style games--you'll usually find two specific details: By default, ...
13 votes
1 answer
16k views

Render in a imGui Window

How do i render my game scene into an imgui window? I want to get from this: to this :
user avatar
12 votes
2 answers
6k views

What is "streamlined" user interface?

I have come across this term "streamlined" user interface, and I wonder how is it different from other user interface type? What is the different between "streamlined" and "non-streamlined" user ...
  • 123
10 votes
1 answer
9k views

Should I use retained mode or immediate mode

I'm trying to make a opengl wrapper for winforms(.net). Basically you code in gdi+ syntax but it gets rendered for opengl(using glcontrol of opentk). Which mode should I use for rendering ui? It has ...
8 votes
2 answers
1k views

Representing feelings such as temperature, pain, smell, taste, hunger, and thirst immersively

In a totally immersive, simulation-type role-playing game, the player should not look at bars or numbers to keep track of his or her stats, so another method of showing these stats is needed. For ...
8 votes
2 answers
4k views

How to make a scrollbar?

I am making my own UI for my game, no libraries used, basic UI with simple controls and I am almost done. Now, let's say I need to display lots of information, controls or items which obviously won't ...
8 votes
2 answers
22k views

How can I render an OpenGL scene into an ImGui window?

The picture rapresents what i want to achieve. I read, somewhere on the Internet, that you can render the fbo and pass that fbo as a texture to render into the ImGui window. The problem is that I don'...
user avatar
7 votes
7 answers
326 views

Ergonomics studies on choosing keys on a keyboard?

I have the following problem: My game supports multiple powers, that you can use when you want, or even mix them, I currently assigned them to the numbers on the top of the keyboard. After so much ...
  • 1,382
6 votes
1 answer
839 views

How can I refactor "attack cooldown" into "attack speed"?

I'm building a game where the player's character can attack bad guys and vice versa. I built this with the concept of an "attack cooldown" because I don't want units to be able to attack each other ...
6 votes
2 answers
872 views

Graphical Interface Design

I have the following problem: Although I know some of color theory, and the interface design ideals (about how it must be usable, and etc...), my interfaces are REALLY ugly. fugly, eye bleed material, ...
  • 1,382
6 votes
5 answers
28k views

Unity - How to get UI text to follow an object?

I'm a relative beginner trying to learn Unity, and I'm trying to do something that I thought would be relatively simple: Have a piece of text hover over an object, following it if it moves around the ...
  • 191
6 votes
1 answer
7k views

Confusion with Libgdx UI

I've started with Libgdx and am currently stumbling about trying to understand how to set up the interface. I have generated the base projects in Eclipse ( < proj-name >,< proj-name >-android, &...
5 votes
2 answers
21k views

How to make curved GUI in Unity?

I'm really new in Unity. I want to make a curved GUI by myself. How would I make one? I'm using Unity 5.6.
5 votes
2 answers
11k views

FPS Crosshair, Should it be drawn on center of the screen or to the forward of bullet spawn point?

so my question is where to draw crosshair? I have some things in my mind like: 1): Draw it on the center of camera(which will stays on the center of screen always), but as my gun is little lower to ...
4 votes
1 answer
13k views

Running into issues with Unity Vertical Layout Group

I feel sure that I'm missing something obvious, but I've been stuck with this over the past few days. I want to make a relatively simple UI component for a character creation screen that looks ...
  • 43
4 votes
1 answer
3k views

HTML UI with SDL2 [closed]

I realized that I need an HTML-like UI in my game, because by myself I wouldn't be able to achieve such effects (divs, text, coloring, and styling). So I started to look around for a HTML Engine for ...
  • 633
4 votes
2 answers
157 views

Game Art: Martial Art Move Symbols

I am still in the conceptualisation and early prototyping phase of a game that revolves around RPG/Bullet-time hybrid game where players compete in vs. style executing attack/defence moves per turn. ...
  • 49
4 votes
1 answer
4k views

Unity not scrolling when mouse not over object

In Unity I am using a scroll view. It works semi-perfectly (had a lot of problems with it, don't like how the UI system works). The content for my scroll view is a bunch of buttons aligned vertically ...
user avatar
3 votes
4 answers
1k views

Is "forcing the user" to accept the terms an acceptable design in a smartphone/iPhone game?

I am about to release my first iPhone game, has been a long project and I involved several people. My lawyer strongly recommended me to add a "terms and conditions" page at the beginning of the app ...
  • 886
3 votes
3 answers
320 views

Score vs. Kills in a casual game

I am making a simple phone game and having a conceptual argument with my partner. The argument might end up being inconsequential, but I would like to hear some opinions from actual devs who are ...
3 votes
1 answer
442 views

Must I display Health and Mana to the player?

I'm thinking of doing one or more of the following: hiding the player's Health hiding the player's Mana hiding the player's Health from other players hiding the player's Mana from other players I ...
user avatar
3 votes
2 answers
2k views

What would be the best way to create a cone representing the field of view of an entity in Godot Engine?

I would like to create a game in which PC and NPCs would have a field of view, shown as a cone in the front of the entity (see picture for an example). As it would be the first game I develop using ...
3 votes
2 answers
2k views

Libgdx - notification popup (something like Toast) - on both Desktop and Android

I'm trying to implement a notification system with LibGDX. As we know, Android has it's Toast which is great, but I can't use it in Desktop mode. I tried extending Dialog etc, adding as an actor and ...
  • 2,522
3 votes
2 answers
131 views

What is the best way to close dialogs in a platform game controlled by keyboard only

I'm developing a flash puzzle platform game in my free time and I got stuck on deciding how to implement a feature. The game will be controlled by keyboard only, no mouse available. My game will have ...
3 votes
1 answer
72 views

Isolate UI elements from 3D scene

this might seem like a silly question but I'm raycasting on specific objects (Targets) in a scene and zooming in on them but i also have a few UI elements (buttons, toggles...) on the side of the ...
  • 102
3 votes
4 answers
334 views

Should I Have a Ridiculously Easy First Level? [closed]

I am making a game based on a grid and filling in certain squares with certain colors according to some rules. It is level-based, and the difficulty of a level is determined by the size of the grid ...
user avatar
3 votes
2 answers
2k views

UI design examples? [closed]

I am not asking the theory of UI design, or how to do one, I am asking for examples and resources, like... How to draw this fiddly stuff, or how to code another circular thing, or a gallery of game ...
3 votes
1 answer
1k views

Print string letter by letter in UI Text

i'm trying to print a string letter by letter for UI Text of Unity. With each click of a button, the Stampa function, must print a letter. Up to this point everything is working perfectly. But if I ...
  • 135
3 votes
0 answers
147 views

Unity Custom Inspector Platform dependent property section

I want to make a custom inspector for one of my scripts that builds UI elements at runtime. This requires small changes to the default values depending on what platform I'm targeting. How do I add ...
  • 3,601
2 votes
2 answers
2k views

UI of a city-building game [closed]

I'm completely new to gamedev and want to learn how to design good UI for a city-building game (like SimCity). What books and other materials can I read in order to learn it?
2 votes
1 answer
625 views

What is the efficient way to sync TextureProgress with a Timer not in the UI?

I want to use a TextureProgress which reflects the state of a Timer. I have tried to emit signals: FROM: the Node2D._process() ...
2 votes
4 answers
618 views

Designing interface for interacting with game objects

I'm making a roguelike (-like) game, somewhat like Project Zomboid or Don't Starve. In my game, there are many different object in the world that the player can interact with; there are also many ...
  • 7,578
2 votes
1 answer
938 views

Layout problem when implementing chat UI in Unity

I want to implement UI layout in Unity: And here's what I've already done in Unity using an scroll view and putting a Vertical Layout Group and a ...
  • 123
2 votes
2 answers
476 views

Trouble creating a "Game Log" for a text-based RPG

I've made significant progress porting my game from print-output to Pygame over the last few days, and I think I'm almost there! Unfortunately, I'm beginning to suspect one of the methods I'm using ...
2 votes
2 answers
7k views

Unity-UI not scaling correctly on android

My UI appears extremely small when i build and launch my game on my android device. Im working with unity 4.6. I've tried changing the UI scale mode of my canvas to all 3 types. Scale with screen size ...
2 votes
1 answer
2k views

Problem, why the mouse cursor position is totally wrong, after resizing the window?

I come here, because i'm trying to add some "menu" interface in my small XNA Game . I found on internet a nice library adviced by many devellopers. Till now everythink is ok, the problem is my C# code ...
2 votes
1 answer
5k views

change widget's size through blueprints

I want to change the size X of my 'Horizontal Box' widget's through blueprints but cannot figure out how to do that... the properties that I want to be able to control from blueprints are marked red ...
  • 163
2 votes
1 answer
3k views

Unity fade all UI elements which belong to one Canvas

Like the question describes I want to fade out/in all UI-Elements belonging to a parent canvas. So things I got are : A World-Canvas which contains multiple UI-Items A script which can fade one ...
  • 947
2 votes
1 answer
1k views

In Unity, Change which mouse button is used to scroll in ScrollRect

I've created a new ScrollView in Unity. How do I change which mouse button is used to scroll in ScrollRect (through script or in the editor). By default it's the left mouse button. I'd like to be ...
2 votes
3 answers
1k views

Good Video Game User Interface Design Books/Websites? [closed]

I having been programming games for some time, but while my teachers say that my code is good and advanced, my friends say that the interface is hard to understand and not the easiest to navigate. I ...
2 votes
2 answers
548 views

An evaluation of game UI, based on certain usability criteria?

Is there a resource online which has made the effort to evaluate game user interfaces and estimate their usability (by genre)? (something like what Nielsen does). In-game reviews in magazines ...
  • 121
2 votes
1 answer
457 views

Creating trading card board layout in libgdx

I wanna make a trading card game using libgdx. I have a general idea about how to implement the server side of the game and the game rules, but I don't know how to design the visual interface of the ...
  • 21
1 vote
1 answer
457 views

What is a GUI element with a filling-up rectangle shape called?

After every game of StarCraft 1, the statistics screen shows up. The part I like on this screen is the points counter. It starts from zero and then it counts up to the points you have achieved, with a ...
  • 199
1 vote
4 answers
847 views

how to make ascii ui like in dwarf fortress

Only one text field, and inside it - different sections, menus, and popups, all in ascii. How to make that? I mean something like this: ...
  • 236
1 vote
1 answer
2k views

Who makes the art assets for mobile games?

I know how to develop apps for Android but never tried developing games, and I want to start soon. For developing games we need sounds and high quality images (say a background, characters, logos, etc....
  • 145
1 vote
2 answers
225 views

Design reasons against directly cancelling draft building

I am developing an RTS right now and this topic came up in discussion about the UI design and patterns in Starcraft 2: When you issue a building command in any race, it will create a "draft" ...