Questions tagged [ui-design]
Designing a clear method of communication between the game and the user, whether hardware or software.
157 questions
1
vote
0
answers
61
views
How to get UI Panel color to match GUI Window
Attempting to get a UI Panel to match the color and background of a GUI Window. Currently, using the default style for a GUI Window. Attached is a screenshot of the GUI Window. I've tried access the ...
0
votes
3
answers
160
views
What are good keywords for my UI buttons?
In my game, when the player enters a battle, they have 4 options: to move around the field, to do an active move(like a healing spell, a punch,...), to use an item, or to look at their passive ...
0
votes
1
answer
190
views
What buttons should I put where? (Start, Credits, options, Quit)
which options should go in which boxes (Start, Credits, options, Quit)
0
votes
1
answer
125
views
Custom GUI with mouse pointer events handling
Recently I heard about possible algorithms to determine if the mouse cursor is on a GUI element such as a button:
Determine the element's coordinates and size to check whether the cursor is on the ...
1
vote
0
answers
46
views
Differentiate Generic Tromino or Tetramino Match vs Specific Shape (Square, Line, L, ect..) in Match-3
This is primarily a user interface question related to match-3 games and visualizing a goal for the player using clear imagery.
I'm interested in having a match-3 game where if you get certain matches ...
2
votes
3
answers
896
views
Is there some psychological reason for why most game's UI is always the same colors?
Shooter games : Either Blue/teal/azure or other shades of blue and transparent or gray and transparent
MMO games : Either blue and transparent or shades of Brown+Gold or a very dark red, so dark it's ...
0
votes
2
answers
523
views
How can I visualize the players health without creating too much UI clutter?
Many games with health systems will always display the amount of health in a head-up display. A good example is Hollow Knight, which has a detailed head-up display in the upper left corner:
Some ...
13
votes
2
answers
6k
views
What is the canonical name of the interaction symbol over NPCs heads?
More often than not, 2D and 3D games markup interactive NPCs (and objects) with the exclamation mark symbol. Typically yellow. But of course, sometimes it's an "i" or a small cloud, or other ...
6
votes
1
answer
9k
views
How to get equivalent of "padding" on a button?
I'm using Godot 4. I want to increase the distance between the Button's Text (and possibly icon, later on), and it's outer edges, while keeping the "Colors" options such as "Font Hover ...
2
votes
1
answer
3k
views
Drag and drop differences between Godot 3 and 4?
I'd been following Godot tutorials to add Drag & Drop functionality to Control nodes. They've presumably been created for Godot 3.x, but my project is 4.0. And ...
5
votes
1
answer
3k
views
What's the difference between VBoxContainer and VFlowContainer?
I'm trying to build some UI for my game made in Godot 4.0. I want to make a "Toolbox" scene and need to decide what containers to use. I come from web development, where I'd use a ...
2
votes
2
answers
254
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" ...
0
votes
0
answers
336
views
How to shoot raycast, and display image on canvas
I have been trying to work on raycast, where if a raycast hits an object then an image will be displayed on the canvas, like on COD Warzone if I go to an elevator shaft, and look at the wire to go up, ...
0
votes
1
answer
466
views
Reference as local variable in Unity c#
In the script below, "btn" is a local variable in OnEnable() method. It's said that local variable is deallocated (lost) when leaving the countaining method. Why this one (btn) is not ?
Nb: ...
1
vote
0
answers
245
views
How to tell which letter or vertex of a letter is at a certain screen position with a Unity UI Toolkit Label or TextElement?
I am using the Unity UI Toolkit and I would like to create my own TextField class (ie. input field, similar to the one I'm typing in now to write this message) with better functions using the Label ...
0
votes
2
answers
280
views
Presenting difficulty settings without words?
I am trying to make a game without any text. I'm using icons in place of them to describe various aspects of the game (health, armor, stats) without using English language.
I am wondering if anyone ...
2
votes
1
answer
1k
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() ...
0
votes
1
answer
87
views
How to create a re-usable layout of text fields that can be bound to in world space?
Current tools:
Unity 2020.3.2f1 (Win10)
UI Builder preview package
My end-goal is to do the following:
At varying intervals, change values for many data objects in the background, such as prices, ...
-1
votes
1
answer
70
views
How can I create a musical sheet using sprites?(Ocarina of time )
I am looking to make a musical sheet similar to the image below:
I want to:
use sprites prefabs
have each sprite correspond to a different line
Move down notes are more are being played
have tail ...
0
votes
1
answer
73
views
NullReferenceException in reticle color change script while cycling through children
I could really use another set of eyes on this. I am running into this error: NullReferenceException: Object reference not set to an instance of an object I can't figure out.
In the script below. I've ...
1
vote
2
answers
957
views
Curved 3D health bar
Hello I would like to make a curved healthbar (like if it is drawn on a cylinder). See the spatial UI element left to the shoulder of the character on this photo for what I mean.
There is a main ...
1
vote
1
answer
2k
views
Difference between methods - onClick.AddListener and On Click under UI button inspector?
Within my Unity Project in my code, (see below), I have a button called Check which executes when CheckPress() function is called. I read two approaches by which this can be done.
Appraoch 1: Using <...
0
votes
1
answer
577
views
Looking for the name of the tap handle with four 'spokes'
I am looking for the name of this sort of tap handle. This is a screenshot of it in the game Monument Valley. It has four spokes and can be rotated, behaving as one would expect of a similar design on ...
1
vote
0
answers
294
views
Unable to wire UI Text object to C# Script
I have created UI text object
And then created Text field in behavior class:
...
0
votes
1
answer
5k
views
Can I add extra widgets to a child widget in UMG-UE4?
I have a widget base class and I would like to reuse (logic and wigdets as well) it.
I created an empty widget and set the parent class to the base class I would like to inherit from in the class ...
1
vote
2
answers
676
views
Unity: How to work with forms
Today I learned some cool tricks about sizing containers and its children, I mainly using this, because I need to build some forms.
But now... It is some preffered way how to handle forms? Or some ...
0
votes
1
answer
494
views
Some UI button script not working in apk build!
There are a lot of posts regarding this problem in various website and even in this one but no one has given a feasible solution to this problem. I have a button that has a custom sprite. I also have ...
2
votes
1
answer
8k
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 ...
-1
votes
1
answer
64
views
Adjusted the canvas scaler in 1 level and now the camera in every scene is changed
I was attempting to add UI overlay to my game in 1 scene (to test run it) and wanted to scale it correctly so i went to Canvas scaler and changed it to Scale with Screen size, and then suddenly my ...
0
votes
2
answers
211
views
What single word could be used to describe city adventures?
I am developing an urban racing simulator in a very "underground" stylized setting. It's name is The Underground King and you have the ability to either:
A) Race in a 2d side view.
B) Do something in ...
3
votes
2
answers
4k
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 ...
0
votes
1
answer
3k
views
How can I economically check if a UI DropDown is open or closed?
I've recently come across a problem with the UI DropDown component. I would like to resize other UI components depending on whether the dropdown is opened or closed. Unfortunately, the dropdown ...
1
vote
4
answers
2k
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:
...
0
votes
2
answers
2k
views
In Unity, how do I make text/annotations appear when I mouse over GameObjects in playmode?
How do I make text appear when I mouse over GameObjects in-game? What is the Unity jargon for this? I'm assuming it's 'annotations'.
0
votes
0
answers
110
views
Is my UI good practice?
I've made a basic UI with the following interface in Unity:
I have a few different states that I want to switch between by pressing buttons - the "in-game" the "menu" and "submenus". There's buttons ...
0
votes
1
answer
301
views
Unity "Text Mesh Pro UGUI" component rewrites my text! Make it stop?
I'm having this terribly annoying problem where my text is being overwritten by Unity. This Happens regardless of whether I am using tags or not.
Here is what I want to appear (more or less, I don't ...
1
vote
0
answers
299
views
Unity WebGL Responsive content
I was trying to develop a simple drag and drop items for Web. What I was trying to do is to make the UI elements from web view to mobile view when the aspect ratio is changes.
I need this web view ...
0
votes
1
answer
77
views
How do I make an image appear based on the current state I'm in?
I am following a tutorial called Complete C# Unity Developer 2D: Learn to Code Making Games. In one section we create a text-based game, where we display a canvas with some UI elements to the user. ...
0
votes
1
answer
443
views
Can a Unity button detect a tap AND send that tap through to objects below it?
I'm trying to make a "highlight frame," like a flashing box around a button for use in the game's tutorial. When the frame is tapped, I'd like it to register the tap (so the frame can be dismissed) ...
2
votes
1
answer
1k
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 ...
0
votes
0
answers
61
views
How can I deactivate and activate a button?
I have a code that keeps a gameObject between scenes, the theme is that this gameObjecte has as a child a button, which I can change the linerenderer color, besides changing the image of the button ...
6
votes
1
answer
17k
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 ...
1
vote
1
answer
227
views
Handling different aspect ratios on a 2D dodging game
I've been making a game where the player is on the ground and has to dodge objects falling to the ground. Since I'm using libGDX (But the question still applies to any other language/framework), The ...
4
votes
2
answers
178
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.
...
1
vote
0
answers
2k
views
How to zoom image on Unity UI to particular point where mouse cursor is located?
I have some RectTransform on Unity UI. I have already implemented some Zoom functionality but now I need it to zoom to the area where the mouse cursor is located. Currently, it zooms to the anchor ...
0
votes
2
answers
286
views
Diegetic UI in a game set in the past
Recently I've been putting together an in-game UI for a passion project I'm working on, but I absolutely hate the UI meta at the moment.
I love Morrowind's UI, in that it is central and easy to access....
0
votes
1
answer
955
views
How to change a background from a list of images on button click?
I'm trying to create a button within the settings menu that allows you to change the image of a GameObject per click. So, let's say there are only 2 different images available to choose from and it ...
2
votes
2
answers
2k
views
Understanding Unity-UI Layout Element - Mininum and Preferred Size
I have been working with Unity for some time, and I am trying to get a better understand of the UI system.
I am a mobile developer and am redesigning the UI but I am unable to achieve what I want.
My ...
3
votes
1
answer
98
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 ...
0
votes
1
answer
85
views
unity UI limitation for tutorial purpose
i want to add a tutorial part to my game that i make by unity.i have some panels that for tutorial purpose i want to limit user to just click a button.most of games make a dark panel over all places ...