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
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)
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 ...
0
votes
2
answers
521
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 ...
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 ...
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 ...
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, ...
1
vote
0
answers
244
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 ...
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() ...
-1
votes
1
answer
69
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 ...
1
vote
2
answers
954
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 ...
0
votes
1
answer
570
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 ...
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 ...
0
votes
1
answer
493
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 ...
-1
votes
1
answer
63
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 ...
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 ...
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
0
answers
109
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 ...
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
442
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) ...
0
votes
0
answers
60
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 ...
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 ...
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
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 ...
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 ...