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
66 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
108 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
34 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
34 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
0 answers
84 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
45 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
311 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
69 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
1 vote
1 answer
421 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
  • 225
0 votes
0 answers
27 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
1 answer
209 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
110 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
98 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
138 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
415 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
204 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
67 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
106 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
0 answers
181 views

Opening JSON UI screens from entities/blocks

I'm making a Bedrock Edition mod with JSON, and I want to be able to specifically open a JSON UI screen within events of a behavior pack or in a script. ...
Ethan Chan's user avatar
0 votes
1 answer
91 views

ScrollView in editor window never reaches the bottommost items

...
Daniel Lip's user avatar
  • 1,727
1 vote
0 answers
163 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.6k
0 votes
1 answer
221 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
0 votes
0 answers
21 views

Put two images on table in the opposite corners

I want to put my two images on the opposite corners of my table: one on bottom left, the second on the bottom right. How to achieve that? I have tried align() and <...
mnietuniema's user avatar
1 vote
0 answers
70 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
4 votes
2 answers
591 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
  • 793
0 votes
0 answers
35 views

Compass bar icons don't appear where expected

I try to recreate the compass from Skyrim in Roblox and I stumbled upon a problem regarding quest icons. I have already programmed the directions of the world and now I struggle to program quest ...
KimikoDev's user avatar
3 votes
1 answer
1k 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
  • 545
1 vote
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
  • 545
2 votes
1 answer
954 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
  • 545
0 votes
1 answer
96 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
  • 31
0 votes
0 answers
122 views

How to select only inventory slots, and not deselect them when clicking somewhere else?

I'm trying to make a selection system in my inventory to do things to the selected item in a UI window using this selection system. The problem is that whenever I click on anything other than the ...
Ohne Dich's user avatar
0 votes
2 answers
270 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
78 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
166 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
299 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
135 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
419 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
  • 307
0 votes
0 answers
34 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
185 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
877 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
42 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
418 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
50 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
1k 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,522
1 vote
1 answer
464 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
109 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 vote
0 answers
148 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 ...
mike's user avatar
  • 481
0 votes
0 answers
898 views

How does the Unity Editor use shader stencils in the UI?

It seems clear that Unity UI has some use for shader stencils, based on the fact that UI shaders tend to have something like this: ...
Geo's user avatar
  • 161
0 votes
1 answer
202 views

Draw a graph as a world map in UI?

What's a good way to take a graph of nodes and draw it in your UI as a map? I already have a graph and I'm happy with how it's generated. However, it doesn't have any positional data for the nodes -- ...
idbrii's user avatar
  • 683

1
2 3 4 5
15