Skip to main content
Share Your Experience: Take the 2024 Developer Survey
8 votes
Accepted

Is there some psychological reason for why most game's UI is always the same colors?

When picking a color palette for your game UI, there are several considerations: Fitting with the theme of the game. If you have a medieval fantasy game, then the UI color scheme should communicate &...
Philipp's user avatar
  • 120k
4 votes

Is there some psychological reason for why most game's UI is always the same colors?

I'm making an rpg game, I'm making the UI now , and I just noticed that I never played a single rpg game that deviated from the standard rpg ui color This is intended to ease knowledge transfer. When ...
Theraot's user avatar
  • 27k
3 votes

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

There are a few concepts to address if you want to get the entire UI working smoothly. Black borders - The size of the screen ("game") in Godot is simply the size, in "units", of ...
Tanaki's user avatar
  • 252
3 votes
Accepted

Pressing two buttons on Android with same thumb touch. UI Event Triggers not working

I faced the same issue and found some other solution that could solve it, so probably it will be helpful for someone. Used unity version: 2022.2. First of all, I need to say that I’m using input ...
grbulat's user avatar
  • 46
3 votes

Space control nodes evenly in a container in Godot

Not sure why nobody mentioned this yet, but this functionality is available under Theme Overrides > Constants > Separation on Hbox, Hflow, etc. Containers:
dmbro's user avatar
  • 31
3 votes

Thin lines appear differently even though they are the same height

The issue, as other folks have pointed out, is that Unity is doing ~the best it can with the information it has. Because the reference size of your UI and the actual size of the screen are different,...
Mhin Ra's user avatar
  • 31
2 votes

What interchange format should I use for e.g. subtitles and UI texts?

The translation companies I've worked with use CSV or po (gettext) files. However, those formats don't specify how format/replacement strings or text formatting should work. I've found that labelled ...
idbrii's user avatar
  • 828
2 votes
Accepted

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

Assuming you are scaling with scale, what you need to do is set the pivot_offset to the center of the ...
Theraot's user avatar
  • 27k
2 votes

Is there some psychological reason for why most game's UI is always the same colors?

My thoughts would be that people like familiarity, and it's easier to get into a game (or other medium) if you can quickly recognise them. This extends a bit further than just colors and color shemes, ...
Steven's user avatar
  • 881
1 vote
Accepted

Add Item for OptionsButton is Gone from the editor

This option is currently (Godot 4) on the inspector. Open "Items": And there you will find an "Add Element" button: Clicking it will create an empty item that you can then ...
Theraot's user avatar
  • 27k
1 vote

How to make UI specific to players?

Make sure the entity has authority before activating the UI :) if is_multiplayer_authority()
aleqkzander's user avatar
1 vote
Accepted

How to stop the UI from moving when changing screen resolution

This is the approach I take at the time of writing: I set stretch modo to canvas_items in Project Settings -> Display -> Window I organize the main scene like this: ...
Theraot's user avatar
  • 27k
1 vote

GUI TextButton fails to show emoji display when clicked

You’re referencing StarterGUI, when you should be referencing each player’s UI; every player gets a copy of startergui when they join the game that they can interact with, and this script affects the ...
Buzzyy's user avatar
  • 111
1 vote

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

Connect to the Tree's item_mouse_selected signal, which is emitted when an item is selected with a mouse button. It is even emitted again if the item is already ...
Beamer159's user avatar
1 vote
Accepted

My Roblox Gui does not update while in game

You are modifying the value in StarterGui, not the one in the player's GUI. StarterGUI is only used when a new player joins to give them the GUI. Modify the GUI inside of ...
ridiche34's user avatar
1 vote

godot saving games, explain like I'm five

This is nearly impossible to debug – only guess – given your small code snippet above. If the debug console doesn't include any errors, this sounds as if your actual code flow cause the engine to exit....
Mario's user avatar
  • 8,497
1 vote
Accepted

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

In general you need these: HUD elements, which ideally would be Controls. So the bar is a Control and each slot is a ...
Theraot's user avatar
  • 27k
1 vote

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

I encountered a similar error once similar to this with a custom card that had different layers of sprites stacked (as in child sprites) to build the card. And sometimes some layers would just vanish. ...
Zibelas's user avatar
  • 4,346
1 vote

C# syntax for "This button is interactable"?

Checking button.interactable checks only if the button itself is interactable, completely ignoring the possible existence of Canvas Groups. The correct check should ...
Parchandri's user avatar
1 vote

Adding a function call to a prefabbed button in Unity

If you instantiate the button you can get a reference to it, like GameObject _Button = Instantiate(_ButtonPrefab) and then you can call ...
CheckerT's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible