Skip to main content

All Questions

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

How can I connect a signal, with specific signal arguments, to an incompatible function in Godot 4 with the UI?

To clarify, I'm attempting to trigger an event on the entry of the player into an Area3D. This event is handled by an ...
Michael Macha's user avatar
0 votes
0 answers
32 views

Textures embedded in a scene that are changed programmatically are not exported with the game

Using Godot 4.4.dev1, I have created two scenes that I use for my HUD. One for abilities and one for keyboard keys. Both have exported variables that contain information about textures that I load in ...
Dragonforge Development's user avatar
2 votes
1 answer
69 views

Theme lookup in Godot 4.2

Trying to understand how theme lookup works in Godot 4.2. Suppose a Control node script has the following two lines in it: ...
shiroko's user avatar
  • 45
1 vote
1 answer
33 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
128 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 ...
Reincarnated as a worldbuilder's user avatar
1 vote
1 answer
359 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
1 answer
398 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
  • 386
3 votes
1 answer
3k 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
  • 255
1 vote
2 answers
1k 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
  • 873
1 vote
1 answer
2k 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
1 answer
784 views

Godot: Invalid set index error

I'm trying to make UI for my game and making a button that changes its own focus neighbour when pressed: $SettingsButton.focus_neighbour_left = $ItemGrid/Slot2 But ...
LivingPlasma's user avatar
2 votes
0 answers
328 views

Pan over an image like a map using scroll container in godot?

I want to create a level select screen, the aspect ratio for my game screen is 576*1024 and the image, I am using is 2048*2048. What I want is for the user to scroll the screen and navigate along the ...
Hamza Memon's user avatar
0 votes
1 answer
1k views

Can't change anchor position and TextureRect size

I'm making UI, and want to set anchor to middle of the image, but changing anchor from Layout -> Anchors Only or setting Anchor value directly doesn't work. The value was updated, but anchor point not ...
modernator's user avatar
  • 1,223
0 votes
1 answer
67 views

CenterContainer makes my button too small

I get the perfect width for my buttons, but CenterContainer overrides that value of theirs to make the button as wide as the biggest text length of the buttons when I put the buttons inside of the ...
James T.'s user avatar
  • 113