Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [gui]

Graphical User Interface. A term used to describe the tools available to the player to interact with the game.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Matrix parent-child transformation for 2D positioning

I am working with matrix math for parent / child transformations. I have to modify existing calculations to keep child scale constant while also keeping child position relative to its parent. Here's ...
Karli Casper's user avatar
0 votes
0 answers
23 views

Second purchase button in shop interface doesn't work

The 1st button works, but the 2nd button doesn't work. I think the problem is in this part: ...
Sodz1aX's user avatar
0 votes
1 answer
58 views

To fix an item duplication glitch, I created an item deletion glitch

The item type is based on button.icon.texture The item quantity is based on button.quantity If item quantity reaches 0, the <...
Xenophile's user avatar
1 vote
1 answer
32 views

Add Item for OptionsButton is Gone from the editor

When i added in a optionbutton for my hud i couldnt find a way to add items manually,this was weird as when i looked for a way,a button on top of the editor should appear but its not there? I dont ...
NEWBIE's user avatar
  • 23
0 votes
1 answer
66 views

How to make UI specific to players?

How can I implement a system in my application's user interface (UI) where certain UI elements are selectively visible to specific players, ensuring that each player, such as Player A, can exclusively ...
Xenophile's user avatar
0 votes
0 answers
68 views

GUI shader that draws different textures on corners, edges, and center?

I'm working in GLSL but feel free to write a solution using any shader language, or even pseudocode / language agnostic, I can translate it myself. I'm trying to create a shader that can draw a "...
Charanor's user avatar
  • 7,850
1 vote
1 answer
219 views

How to stop the UI from moving when changing screen resolution

Added screen resolution settings Change screen resolution in game Everything is already anchored GUI gets the hell out of the screen, moves around and goes everywhere
Atsinganoi Dragon's user avatar
0 votes
0 answers
158 views

How to properly overlay HTML over canvas with scaling?

If I have <div container> <my html overlay> <my game canvas> </div> The canvas has ...
B''H Bi'ezras -- Boruch Hashem's user avatar
0 votes
1 answer
307 views

How to design an EventBus(guided by the pub/sub pattern)

I'm working on my game engine, and was faced with the fact, that i don't know how properly design an event system. As a pattern i choose Pub/Sub with an event bus, but i don't know where i should '...
qulop's user avatar
  • 3
0 votes
1 answer
38 views

GUI TextButton fails to show emoji display when clicked

I want to create a GUI where, when I click a button, an emote display pops up, and when I click an emote, it closes. Currently, my display won't even show when the button is clicked. This is my code, ...
lynx_s's user avatar
  • 1
0 votes
0 answers
47 views

UDim2.new(a, b, c, d) is acting very strangely

I am using a debugger and (i-1)*50 is equal to 50, but ...
ridiche34's user avatar
0 votes
1 answer
211 views

Collapse/uncollapse a Tree in Godot 4 by clicking on the TreeItem?

Is there a way to collapse/uncollapse a Tree (Control) in Godot 4 by clicking on the TreeItem instead of the folding arrow? I ...
Alex CB's user avatar
  • 376
0 votes
1 answer
59 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 ...
Fangamesgamer's user avatar
1 vote
2 answers
1k views

Interacting with World Space UI

Been struggling with this one for a while. I've found a few other posts across Stack Exchange and the Unity forums that seem to have the same problem, but their solutions don't work for me (at least ...
rpatton583's user avatar
0 votes
1 answer
179 views

My Roblox Gui does not update while in game

In my Roblox game, I'm trying to do 2 things with my UI: 1. I am trying to make the "Coins: " text = "Coins: " plus the number of coins the player has. 2. I am trying to make a ...
Stelbert Stylton's user avatar
2 votes
1 answer
2k views

How do I keep a node centered while animating scale in Godot?

When scale is modulated, the item scales from the top-left corner. I tried changing anchors preset to "center" but it still scaled from the top-left corner. How do I make it scale from ...
Seph Reed's user avatar
  • 235
0 votes
0 answers
31 views

How to make detail tab show information about clicked card?

I'm attempting to create a card game as a new Unreal Dev. Currently I have a UI for the board. That UI has children for the Hands, Field, and Card Details (A window to the side of the field that has a ...
GodelComplete's user avatar
1 vote
2 answers
673 views

How to make sure my UI remains the same across multiple screens?

How to make sure my UI remains the same across multiple screens? I've looked at some tutorials, but they didn't seem to apply to my situation. I tried the following, but they didn't resolve my problem:...
Cei's user avatar
  • 863
-1 votes
1 answer
156 views

godot saving games, explain like I'm five

using this tutorial, my game crashes before opening and gives 0 errors... doesn't even tell me what's wrong. All the code I'm using is literally just this open project: https://github.com/...
Cei's user avatar
  • 863
0 votes
1 answer
204 views

floating damage text in 3D

followed this tutorial : https://www.youtube.com/watch?v=UlvBqz8bhCo the guy is working mostly in 2D, i tried to apply the same method but I'm hating working with UI in godot, everytime I seem to get ...
Cei's user avatar
  • 863
1 vote
1 answer
264 views

now how do I go about making a skill bar and a tool bar?

TLDR QUESTION the main thing I don't understand how do i make it so that when i press a keybind i activate not a skill but a slot in the skillbar and the slot in the skillbar activates the skill extra ...
Cei's user avatar
  • 863
2 votes
3 answers
527 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 ...
Cei's user avatar
  • 863
0 votes
1 answer
375 views

Particle system objects in UI disappears/appears on screen unless I change the sorting rank

This happens to all particle systems. I tried: Changing the rendering mode to camera, setting culling mask to UI, particle system layer set to UI Adding a canvas child, and attaching a particle ...
Alex's user avatar
  • 103
0 votes
0 answers
91 views

How to organize widgets in Unreal Engine for multiplayer

I am a beginner UI programmer working with UMG. My question: are there ways to organize widgets other than, you know, the master widget that holds the rest of the widgets? WBP_Master -> (...
anime username's user avatar
0 votes
0 answers
144 views

LocalPosition always (0, 0, 0) on UI component after assigning it in script

I have a card prefab setup to render a card like this: I'm in the process of creating a hand prefab to contain a set of cards and manage the animation to slide in each of the cards. Each hand has 5 ...
Samuel Slade's user avatar
0 votes
1 answer
140 views

ScrollView in editor window never reaches the bottommost items

...
Daniel Lip's user avatar
  • 1,747
1 vote
0 answers
215 views

Unity How to expand a child in a horizontal layout group to the left

I intend to hover over an item inside a Horizontal layout group and make it expand depending on its position within the carousel. I am able to expand the items upon hovering; however, I want the items ...
CraftedGaming's user avatar
13 votes
2 answers
5k 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 ...
Kromster's user avatar
  • 10.7k
0 votes
1 answer
346 views

How do I implement Minecraft Forge Config GUI (1.8.x)

So I have recently been working on a minecraft 1.8.9 forge mod, just to play around and see what there is (eventually I am planning on making a utilities mod with versions for 1.8-1.19, which is why I'...
MiSt Rocky's user avatar
1 vote
0 answers
99 views

Animate buttons sliding in

I am developing my first libGDX game. I want to animate the buttons on the stage, so they transition into view instead of just popping into appearance. For example, each button should slide in from ...
Zerg's user avatar
  • 11
5 votes
2 answers
2k views

Space control nodes evenly in a container in Godot

Is it possible to achieve this behavior with a container in Godot? To explain in more details, the black box is the hypothetical container I'm looking for and the red boxes are children control nodes:...
Eldy's user avatar
  • 835
3 votes
1 answer
3k 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 ...
Jeroen's user avatar
  • 595
2 votes
1 answer
2k 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 ...
Jeroen's user avatar
  • 595
3 votes
1 answer
2k 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 ...
Jeroen's user avatar
  • 595
0 votes
1 answer
157 views

How to handle UI when logical and screen sizes are different?

I am programming a game in SDL2 and I am looking for advice on how to handle interactivity of UI components when the screen resolution and logical resolutions are different. Up to now I have been ...
lancen's user avatar
  • 33
0 votes
2 answers
745 views

Unity UI button not working

I'm creating a game in unity and I can't get the UI buttons to work. Here is what I tried: Added a graphics raycaster to the canvas Added an events system with an Input System UI Input Manager ...
FortCraftCoder's user avatar
0 votes
0 answers
85 views

ScenePointToLocalPointInRectangle no longer works after reloading scene

I have created a GUI that floats over an object. However, when I reload the scene, the ScreenPointToLocalPointInRectangle() function does not work and acts as if I ...
kunokouki's user avatar
0 votes
1 answer
227 views

GUI Using WorldToScreenPoint is Out of Control

I want to have a GUI float over a game object using WorldToScreenPoint, similar to this tutorial. However, I am experiencing strange behavior with the GUI. I assume ...
kunokouki's user avatar
0 votes
1 answer
390 views

Delay confirmation pop-up for in-app purchase

I'm trying to implement IAP in my game where the user can buy 100 coins. I have used this video tutorial to implement the IAP and this works fine. I want to implement a functionaltiy where once the ...
single arrow games's user avatar
1 vote
1 answer
160 views

Shaking UI World Space element when keeping it centered between 2 objects

So I have a ship in the game, and I can click on a Sail to make a World Space UI panel appear. The panel will follow the selected sail and also always Billboard towards the camera. The problem I have ...
questioneeeeer's user avatar
0 votes
0 answers
513 views

Can you apply motion blur to UI elements in Unity?

As the question states, is there a way to apply motion blur to UI elements that are being animated in Unity? I have an animation sequence that mostly consists of the UI text. So what I am trying to ...
Ivan's user avatar
  • 337
0 votes
0 answers
36 views

Scale radius used in positioning script to match UI scale

I would like to ask a question about the scaling of objects to the size of the screen. But the question is not a problem that can be solved by setting the "canvas scaler" to "scale with ...
Soya's user avatar
  • 1
0 votes
1 answer
262 views

Use Graphics Raycaster do implement pointer control VR

I am trying to figure out how to allow my players to put in a code to join a group room using photon. Unity seems to suggest using a graphics raycaster but in most sample code it uses mouse input for ...
Doug Ray's user avatar
  • 143
1 vote
1 answer
1k views

New to Godot having problem understanding Button Group

I'm having an issue trying to understand the ButtonGroup logic, totally new to GDScript, don't have a clue of what I'm doing. Obviously is wrong. I created a scene that I saved in a folder called &...
raphie's user avatar
  • 113
0 votes
0 answers
47 views

Make player object freeze / become non-interactive when text pops up

I have a Dialogue system that shows up when a scene starts or a player touches an object. I am wondering if is it possible to make the player freeze/not interactable when dialogue pops up. I don't ...
Maiz's user avatar
  • 1
0 votes
0 answers
574 views

Blurry text in low resolution game using TMP

This could be a simple solution that my mind cant grab right now. So, I am working on a game with a specific resolution which is 64x64. I using unity latest version. as for my text I am using TMP. My ...
Maiz's user avatar
  • 1
1 vote
0 answers
54 views

DSL to describe (and maybe render) tech trees? [closed]

Are there any open-source instruments with easy-to-write (maybe YAML-like) syntax which allow to describe tech tree in text file and (preferably) render it by some diagram engine like graphml(yEd) or ...
RollingHog's user avatar
0 votes
6 answers
2k views

Is it possible to move Overlay Canvas away from (0,0,0) in the Scene View?

In our workflow we use a Screen Space - Overlay canvas for UI. The only problem with it is that you can't change it's position (...
Jacob's user avatar
  • 2,542
1 vote
1 answer
580 views

Problem with placing isometric tiles above and below each other

In unity when using the in built tale palette to place tiles into the scene, I have come across a small problem. Im using an isometric tile-map and whenever i go to place a block, I end up placing a ...
Kami19's user avatar
  • 21
0 votes
0 answers
121 views

Having GUI on side rather than on game screen

How would I make it so that rather on the game screen the GUI is on the side of the screen and puts the game screen in its own little area so that its not covering part of the screen because right now ...
Zwei's user avatar
  • 1

1
2 3 4 5
15